Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Sat May 25, 2013 4:05 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Rollover code not correct after installing iweb09
Author Message
 Post subject: Rollover code not correct after installing iweb09
PostPosted: Wed Apr 29, 2009 7:58 pm 
Offline

Joined: Wed Apr 29, 2009 7:45 pm
Posts: 2
I used your rollover code to make some new rollover buttons, which worked well in iweb 08.

Now I have installed iweb09, there is a problem.

The images both display correctly, so when I rollover the image changes,so they work fine which is great, but the link where the button directs you is not working.

What seems to be happening is the link is being copied together with "target="_top"
which leads to a 404.

Here is the code:

<A HREF="http://web.mac.com/wanderingbear/Wandering_Bear_Asia/Welcome_To_Asia.html”
target="_top"
onmouseover="document.sub_but.src='http://web.mac.com/wanderingbear/BearsRolloverButtonFolder/asiarollover.png'"
onmouseout="document.sub_but.src='http://web.mac.com/wanderingbear/BearsRolloverButtonFolder/asia.png'">
<IMG SRC="http://web.mac.com/wanderingbear/BearsRolloverButtonFolder/asia.png" WIDTH="215" HEIGHT="143" BORDER="0" ALT="Move your mouse over me" NAME="sub_but">
</A>



I dont knon much about code, but tried inserting a return after the end of .html, & after the space, but it does not make any difference.

Any ideas,

PS Top Site, you have helped me build my site enormously over the 2.5 years - THANKS!


Top
 Profile Send private message  
 
Rollover code not correct after installing iweb09
Author Message
 Post subject: Re: Rollover code not correct after installing iweb09
PostPosted: Wed Apr 29, 2009 10:30 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Hi,

thank you very much for your question. I never noticed that problem but after reading your question I checked my rollover links and found that I experience the same problem. Fortunately I got it solved.

What was causing the problem is the quotes in the destination url. All you need to do is replace the quotes of

<A HREF="http://web.mac.com/wanderingbear/Wandering_Bear_Asia/Welcome_To_Asia.html"

with apostrophes, hence

<A HREF='http://web.mac.com/wanderingbear/Wandering_Bear_Asia/Welcome_To_Asia.html'

The whole code will then be:


<A HREF='http://web.mac.com/wanderingbear/Wandering_Bear_Asia/Welcome_To_Asia.html' target="_top"
onmouseover="document.sub_but.src='http://web.mac.com/wanderingbear/BearsRolloverButtonFolder/asiarollover.png'"
onmouseout="document.sub_but.src='http://web.mac.com/wanderingbear/BearsRolloverButtonFolder/asia.png'">
<IMG SRC="http://web.mac.com/wanderingbear/BearsRolloverButtonFolder/asia.png" WIDTH="215" HEIGHT="143" BORDER="0" ALT="Move your mouse over me" NAME="sub_but">
</A>

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Rollover code not correct after installing iweb09
Author Message
 Post subject: Re: Rollover code not correct after installing iweb09
PostPosted: Thu Apr 30, 2009 10:20 pm 
Offline

Joined: Wed Apr 29, 2009 7:45 pm
Posts: 2
Thanks Cedric!

I thought it would be simple, but use iweb as I really done want to be bothered with learning code.

I appreciate the fast response too.

You & Roddy should be paid by Apple, as your both Brilliant.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Jump to:  






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield