Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
Sophomore
Picture of Erik
Posted
hello,

im using dreamweaver mx2004.

How do i make it so when i click on a link it stays the color of the rollover for the page im on.

Thanks.
 
Posts: 256 | Location: Gaithersburg, Maryland, USA | Registered: June 17, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior
Picture of particleman
Posted Hide Post
do you mean you want to make it so that when you click a blue link, it stays blue, and doesnt turn another color? If thats the case then go to MODIFY in the toolbar and select page properties. Set the links and visited links to be the same color. If thats not what you wanted, can you give an example of what your going for?
 
Posts: 488 | Location: Vista, Ca | Registered: April 13, 2003Reply With QuoteEdit or Delete MessageReport This Post
Moderator
Picture of titaniumdoughnut
AIM: Online Status For thegoldencheddar
Posted Hide Post
and the CSS code is:

a:visted {color:#0000FF;}


| PerryKroll.com | TRC | "If not actually disgruntled, he was far from being gruntled." Wodehouse
 
Posts: 5197 | Location: Tisch at New York University | Registered: June 03, 2003Reply With QuoteEdit or Delete MessageReport This Post
Sophomore
Picture of Erik
Posted Hide Post
An example of what i mean is here.

http://www.dcmedia.ie/

When you click on a link it stays that color.


-Erik
 
Posts: 256 | Location: Gaithersburg, Maryland, USA | Registered: June 17, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior
Picture of particleman
Posted Hide Post
This is gonna be complicated and ugly, I hope i'm answering the question you asked. Are you talking about the header bar that says home-wedding-event...
Ok, you want to click on one of the rollovers and when it takes you to the next page, that rollover stays "on". To do that, you just don't put a rollover in the header of that next page, and set the image to be the "on" gif (in this case the white colored gif).
for example:
all the links on the main page are rollovers (orange in off position, white when clicked)

If you click on weddings, it takes you to the weddings page, and all the headers are still rollovers (orange to white, off to on) except weddings, which is now permanently white (on). On the weddings page they just removed the rollover and simply placed a single image (the white, on, button) in its place. That probobly didnt make any sense, sorry. Here's the difference in the code of that helps at all.

HOME PAGE

<a href="weddings.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('weddings','',' images/weddings_2.gif',1)"><img src=" images/weddings_1.gif"
SO the page is swapping the wedding_1 image (orange) with the wedding_2 image (white) when the link is "rolledover"

WEDDING PAGE
<a href="weddings.htm"><img src=" images/weddings_2.gif "
Now all that rollover/ swap code is gone, the link is simply the wedding_2.gif (white image) so it stays white and doesnt roll. If youre using behaviors in Dreamweaver, just remove the image swap behavior from the weddings link in the header bar and set the source to be youree "on position" button
 
Posts: 488 | Location: Vista, Ca | Registered: April 13, 2003Reply With QuoteEdit or Delete MessageReport This Post
Sophomore
Picture of Erik
Posted Hide Post
Ok, can i do this when working with a template?

It sounds like your saying i need to create that page with that link colored for each page.


-Erik
 
Posts: 256 | Location: Gaithersburg, Maryland, USA | Registered: June 17, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior
Picture of particleman
Posted Hide Post
Ive only coded pages individually, whichc is a pain. I need to learn how to use style pages or templates. So i don't know how to do those individual pages without coding each page. titanium seems to know about CSS pages, and probobly templates, so hopefully he'll read this. Sorry i can't help on that
 
Posts: 488 | Location: Vista, Ca | Registered: April 13, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 


© Studentfilms.com, Inc. 2008