HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Where to place script for rollover images
Post new topic   Reply to topic    HTML Help Forum -> Images & Graphics
View previous topic :: View next topic  
Author Message
Simonriverdale



Joined: 19 May 2006
Posts: 5

PostPosted: Fri May 19, 2006 2:08 am     Where to place script for rollover images Reply with quote

Whereabouts do I place the script for rollover images which I copied from this site to an HTML document. The script works fine (except I had to add <align left> to place the script next to the picture) until I try to put it in <head> or <body>.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Fri May 19, 2006 3:16 am     Reply with quote

It depends on the source code, etc. This one goes in the <head>

_________________
Corey
Loud Commerce | Loud Worx | Merchant Account Blog


Last edited by Corey Bryant on Sun Aug 27, 2006 3:00 pm; edited 1 time in total
Simonriverdale



Joined: 19 May 2006
Posts: 5

PostPosted: Fri May 19, 2006 4:31 am     Where to place script for rollover images Reply with quote

Thanks Corey. Now I'm really confused. I'd seen your response in the forum but supposed this was for non Java script and it seemed to my untutored eyes that your script is very different to those in the 'Many Links, One Rollover' tutorial at http://www.htmlcodetutorial.com/images/images_famsupp_84.html. which is where I got my original script, so I didn't think it applied to my situation. Hence the 'New Post' enquiry. What do I do now; ditch the tutorial as irrelevant and follow your example and not know where to go next or struggle on with the tutorials?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Fri May 19, 2006 5:00 am     Reply with quote

Chances are - that that script on that particular page goes into the <head>.

As far as using that one or the other - it is up to you. Both seem pretty straight-forward

_________________
Corey
Loud Commerce |
Loud Worx | Loud Ads
Simonriverdale



Joined: 19 May 2006
Posts: 5

PostPosted: Fri May 19, 2006 5:28 am     Where to put scripts for rollover images Reply with quote

Dear Corey. It may be straightforward for someone with 3608 postings but for us poor souls with only 2 it's anything but. I've only been using HTML for a couple of weeks so haven't got the intuition of a seasoned web spinner, after all that's why I'm using the tutorials in the first place. So what is the difference or the similarities between your script and the tutorials? Thanks. Simon
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Fri May 19, 2006 6:49 am     Reply with quote

I don't really mess with JavaScript at all. It is a bit too unpredictable since it is a client side language.

I came across the script that posted and it seemed to work on IE, Firefox and a few other browsers so that is why I decided to use it / post it.

_________________
Corey
Loud Commerce | Loud Worx | Toll Free Solutions
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> Images & Graphics All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial