Posted By
|
Message
|
guri-n ha
Registered 16/04/2005
Points 245
|
23rd May, 2005 at 13:39:12 -
Since people don't look much at the links section, I'm posting the link to it here: http://greenleaf.100free.com/index.htm
Please tell me what you think
n/a
|
Kirby Smith Resident Slacker
Registered 18/05/2003
Points 479
|
23rd May, 2005 at 14:31:37 -
Why bother linking your website when the majority of it is still under construction?
XBL Gamertag: Rampant Mjolnir
|
guri-n ha
Registered 16/04/2005
Points 245
|
23rd May, 2005 at 14:45:08 -
i wanted to know what you would recommend and think of.
n/a
|
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
|
23rd May, 2005 at 15:54:30 -
I'd recommend replacing the Java applet rollovers with JavaScripts. Java is just overkill for stuff like that and it slows your page down.
www.thenatflap.co.uk
|
guri-n ha
Registered 16/04/2005
Points 245
|
23rd May, 2005 at 16:18:11 -
i think so too, i have been searching for javascripts about this. I found some but they are pretty complicated
n/a
|
Daniel [JaDGames]
Registered 27/05/2005
Points 261
|
3rd December, 2005 at 05:59:34 -
Nice!
Current Projects:
Breakout
Engine: 99% completed
Levels: 50% completed
|
axel Crazy?
Registered 05/02/2005
Points 4766
|
4th December, 2005 at 06:55:17 -
*Takes dildo out from Phizzy's arse*
Edited by the Author.
n/a
|
erathean
Registered 12/11/2004
Points 56
|
4th December, 2005 at 08:40:32 -
Javascript rollovers are pretty simple, in fact DreamWeaver even generates them (FrontPage sucks btw and if you use DreamWeaver use the coding end).
[b]THIS BIT GOES IN THE <HEAD> TAGS[/b]
[code]
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById; return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.osrc=x.src; x.src=a[i+2];}
}
//-->
</script>
[/code]
[B]THIS BIT GOES IN THE BODY[/B]
[I]Only change the << >> bits[/I]
[code]
<body onLoad="MM_preloadImages('ROLLOVER.JPG')">
<a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','<<REPLACE WITH ROLLOVER IMAGE NAME>>',1)">
</body>
[/code]
Hope this helps,
Lewis
n/a
|
erathean
Registered 12/11/2004
Points 56
|
4th December, 2005 at 08:43:28 -
Whoops, didn't realise somebody has resurrected such an ancient post thanks for pointing that out Phizzy
n/a
|
|
|