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 Sun May 19, 2013 8:51 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Can I use rollover text instead of a rollover image?
Author Message
 Post subject: Can I use rollover text instead of a rollover image?
PostPosted: Sat Jan 23, 2010 6:45 am 
Offline

Joined: Mon Jul 20, 2009 7:57 am
Posts: 23
Location: USA, Japan
Instead of a rollover image, I want to use rollover text. For example, I want to be able to rollover the word, "lyrics" and have a small window pop up with lyrics to a particular song. I'm not sure how to change to code you gave to make this work. mostly, I'm not sure what to do with the last part which refers to the images. This would be my best guess:

<a href='#' target="_blank"
onmouseover="document.sub_but.src='http://yourdomain.com/onroll.doc (can I use a world file or does it have to be a .txt file?)'"
onmouseout="lyrics">
</a>

Would that work?

Thanks!
Christin

_________________
http://www.kylebutlermusic.com


Top
 Profile Send private message  
 
Can I use rollover text instead of a rollover image?
Author Message
 Post subject: Re: Can I use rollover text instead of a rollover image?
PostPosted: Sat Jan 23, 2010 9:14 am 
Offline

Joined: Mon Jul 20, 2009 7:57 am
Posts: 23
Location: USA, Japan
On second thought, maybe just a simple link that opens a small pop-up window with the lyrics would be better than a roll-over. I don't know how to do that either though! :)

Thanks again,
Christin

_________________
http://www.kylebutlermusic.com


Top
 Profile Send private message  
 
Can I use rollover text instead of a rollover image?
Author Message
 Post subject: Re: Can I use rollover text instead of a rollover image?
PostPosted: Sat Jan 23, 2010 10:11 am 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
christin.butler wrote:
On second thought, maybe just a simple link that opens a small pop-up window with the lyrics would be better than a roll-over. I don't know how to do that either though! :)

Thanks again,
Christin


I think it would be better.

How to create a popup is described in the Music & PopUp FAQ and on page 67 of the E-Book. It's easy.

Just build a page in iWeb for the lyrics as you always do. Apply the width you want the popup window to be to that page. Uncheck the "Display page in nav. menu" box from the Inspector.
Take the code for popup and replace page.html in the code with the URL of the page you previously built.

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  
 
Can I use rollover text instead of a rollover image?
Author Message
 Post subject: Re: Can I use rollover text instead of a rollover image?
PostPosted: Sat Jan 23, 2010 12:36 pm 
Offline

Joined: Mon Jul 20, 2009 7:57 am
Posts: 23
Location: USA, Japan
iWebFAQ wrote:
Take the code for popup and replace page.html in the code with the URL of the page you previously built.


Where do I put the code exactly? I have an older version of iWeb, so no snippets. I use iTweak. I just want to make some text into a link. The linked text is contained within a larger text.

Thanks again,
Christin

_________________
http://www.kylebutlermusic.com


Top
 Profile Send private message  
 
Can I use rollover text instead of a rollover image?
Author Message
 Post subject: Re: Can I use rollover text instead of a rollover image?
PostPosted: Sat Jan 23, 2010 12:55 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Then I would do it as follows...

Where you want the link to appear add a TextBox with:

LinkAppearHere

and publish. In iTweak go to "Search & Replace", hit "+"
Search For: LinkAppearHere
Replace With: paste the HTML code into this field

"Process Site"

Tell me if it worked,
Cédric

PS: On January 27th Apple should be presenting iLife '10, which should contain iWeb '10 which hopefully is going to be better and maybe an upgrade will be worth

_________________
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  
 
Can I use rollover text instead of a rollover image?
Author Message
 Post subject: Re: Can I use rollover text instead of a rollover image?
PostPosted: Sat Jan 23, 2010 1:35 pm 
Offline

Joined: Mon Jul 20, 2009 7:57 am
Posts: 23
Location: USA, Japan
Does it have to be it's own textbox or can it be text within text? For example, "blahblah blabbityblah, more_to_see blah blah." in only one textbox

and then have iTweak search for: more_to_see?

Do you think that would work? Because I'm having trouble figuring out how to effectively hide 11 textboxes within a larger textbook and still have it look like continuous text.

Thanks,
Christin

_________________
http://www.kylebutlermusic.com


Top
 Profile Send private message  
 
Can I use rollover text instead of a rollover image?
Author Message
 Post subject: Re: Can I use rollover text instead of a rollover image?
PostPosted: Sat Jan 23, 2010 1:56 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Should work in-text too (I don't think a new TextBox is necessary)

Just make sure to use a special code to replace for each popup

more_to_see_1 for Lyric 1
more_to_see_2 for Lyric 2
...

Also in iTweak once you've set it up choose "Save table" so the next time you can just open the table and don't have to re-setup everything all over again.

_________________
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  
 
Can I use rollover text instead of a rollover image?
Author Message
 Post subject: Re: Can I use rollover text instead of a rollover image?
PostPosted: Sun Jan 24, 2010 2:11 pm 
Offline

Joined: Mon Jul 20, 2009 7:57 am
Posts: 23
Location: USA, Japan
I gave it a try but no luck. I think the test link I did may have shown up behind the nav bar, rather than below the music player where I wanted them (and placed the text box). Either way, I couldn't find them on the page and it skewed the layout of the rest of the page. (Here's a link to give you a visual, although I reposted the site without the problems for now: http://www.kylebutlermusic.com/Listen%2 ... music.html) This is the code I used:

<div align="center"><SPAN STYLE="font-family: Times New Roman; font-size: 12pt"><style type="text/css">a{color: #0000FF;text-decoration: underline;}a:hover {color: #0000FF;text-decoration: none;}a:visit {color: #FF00FF;text-decoration: underline;}</style><A HREF="#" onClick="window.open('http://www.kylebutlermusic.com/More to See lyrics.html','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=323, height=394');return(false)">More to See</A></div>

Any suggestions?

Thanks,
Christin

_________________
http://www.kylebutlermusic.com


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron






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