Skip to content
View in the app

A better way to browse. Learn more.

Thailand News and Discussion Forum | ASEANNOW

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How Was This Done?

Featured Replies

While looking for moslem cartoons , I came upon THIS SITE

There are 6 thumbnails which, when clicked on , open & enlarge on the same page.

,

Can someone tell me how this is done pls? :o

Most probably in Javascript... Take a look at the source code.

  • Author

Thanks Mike, I tried that but it won't open. :o

i might be wrong but looks like a simple "assign layers" to me which could change the pictures either with rollover effect or on click.

Explorer :o

<script language=JavaScript>

var linkpix=new Array()

linkpix[0]=''

linkpix[1]='<img src="Pyramids_1.gif" width="330" height="264">'

linkpix[2]='<img src="Pyramids_2.gif" width="330" height="264">'

linkpix[3]='<img src="Pyramids_3.gif" width="330" height="264">'

linkpix[4]='<img src="Pyramids_4.gif" width="330" height="264">'

linkpix[5]='<img src="Pyramids_5.gif" width="330" height="264">'

linkpix[6]='<img src="Pyramids_6.gif" width="330" height="264">'

var ns6=document.getElementById&&!document.all

var ie=document.all

function show_pix(thepix, whichdiv){

if (ie) eval("document.all."+whichdiv).innerHTML=linkpix[thepix]

else if (ns6) document.getElementById(whichdiv).innerHTML=linkpix[thepix] }

function reset(whichdiv){

if (ie) eval("document.all."+whichdiv).innerHTML=''

else if (ns6) document.getElementById(whichdiv).innerHTML=''}

//-->

</SCRIPT>

and the code that calls the javascript :

<TD class=smallWhite onmousedown="bgColor='#FAB846'"

onmouseover="bgColor='#D86B17'; "

style="CURSOR: hand" onclick="show_pix(1,'div1')"

onmouseout="bgColor=''">1<BR><IMG height=70

hspace=3

src="BOMBING THE PYRAMIDS - Ahmed & Mohammed's Hideout_files/Pyramids-1-T.gif"

width=88 border=1></TD>

Edited by penelope

don't forget the includes :o

<script src="http://Ahmed-Mohammed.mindswap.net/javascripts/JS_includes.js" type="text/javascript" language="Javascript">
</script>

don't forget the includes  :o

<script src="http://Ahmed-Mohammed.mindswap.net/javascripts/JS_includes.js" type="text/javascript" language="Javascript">
</script>

Note, copyright issues may apply, subject to the authors license.

Edited by penelope

  • Author

Many thanks, Mike, Pen and Explorer :D

Would ZAlarm stop me getting the "source"?

Nothing happens when I click source :o

Many thanks, Mike, Pen and Explorer  :D

Would ZAlarm stop me getting the "source"?

Nothing happens when I click source  :o

In internet exporer :

File -> Save as

then open the html file with any text editor

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.