Book Section
-----
TY JavaScript 3rd Ed.
Teach Yourself JS 1.5
Teach Yourself DHTML
Teach Yourself JS 1.3
LLWW: JavaScript

General Section
-----
Discussion Forum
Articles / Tips
JavaScript Links
About the Author
Privacy Policy
Contact Me



Other Sites
-----
Website Workshop
JavaScript Weblog

JavaScript Workshop Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
pop up window and CSS rollovers

 
Post new topic   Reply to topic    JSWorkshop Forum Index -> DHTML and CSS
View previous topic :: View next topic  
Author Message
Sean Paul
New member
New member


Joined: 01 May 2003
Posts: 6
Location: New Orleans

PostPosted: Thu May 01, 2003 5:11 pm    Post subject: pop up window and CSS rollovers Reply with quote

I have created a document with CSS rollovers, but when I attach an href pop up window, the rollover no longer works.

here's the code
Code:
<td width=125 bgcolor="#636363"> <A HREF="javascript:open_window1('feedandy.html')" class="bodylink">Feed Andy</td>


here's the CSS code
Code:
a.bodylink {
font-family: Veranda, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
color: #CBC9CB;
font-weight: bold;
font-size: 12px;
 text-decoration: none
}

a.bodylink:hover  {
color: #CBC9CB;
font-family: Veranda, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
font-weight: bold;
font-size: 12px;
text-decoration: none
}

a.bodylink:active  {
color: #CBC9CB;
font-weight: bold;
font-size: 12px;
font-family: Veranda, Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
text-decoration: none
}


here's the site:http://www.caillouette.com/pixellux_web/


Is there a way to have the rollover effective with an href pop up window?

thanks in advance
Back to top
View user's profile Send private message Visit poster's website
sohnee
Senior Member
Senior Member


Joined: 17 Jul 2002
Posts: 2077
Location: UK

PostPosted: Fri May 02, 2003 12:29 am    Post subject: Reply with quote

I'm not sure if you are saying they don't work in the current window, or in the new window you are popping up.

If they work in the current window before you put in the pop up window, they should work after you put in that code. The only time a style would stop applying is if you defined a <p> style, then moved the stuff on to a table.

If it isn;t working in the new window - it is probably because you haven't linked the css sheet to the new page.

p.s. - you haven't closed the hyperlink with an </a> tag before the </td> tag.
Back to top
View user's profile Send private message Visit poster's website
sw
Member
Member


Joined: 16 Jan 2003
Posts: 59
Location: Folsom, CA

PostPosted: Fri May 02, 2003 9:57 am    Post subject: Reply with quote

as far as I can tell, the rollover works on the page (in IE5.5 and NS 7.0), and they shouldn't be a problem in the new window, because its flash.
Back to top
View user's profile Send private message AIM Address
Sean Paul
New member
New member


Joined: 01 May 2003
Posts: 6
Location: New Orleans

PostPosted: Fri May 02, 2003 10:06 am    Post subject: thanks for your help Reply with quote

Yes it is now working.

Thanks again
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    JSWorkshop Forum Index -> DHTML and CSS All times are GMT - 7 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


Powered by phpBB © 2001, 2002 phpBB Group
(c) 1997-2002 Starling Technologies and Michael Moncur. Portions (c) Sams Publishing.