|
Book Section

General Section

Other Sites

|
JavaScript Workshop Forums
| View previous topic :: View next topic |
| Author |
Message |
Sean Paul New member

Joined: 01 May 2003 Posts: 6 Location: New Orleans
|
Posted: Thu May 01, 2003 5:11 pm Post subject: pop up window and CSS rollovers |
|
|
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 |
|
 |
sohnee Senior Member

Joined: 17 Jul 2002 Posts: 2077 Location: UK
|
Posted: Fri May 02, 2003 12:29 am Post subject: |
|
|
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 |
|
 |
sw Member

Joined: 16 Jan 2003 Posts: 59 Location: Folsom, CA
|
Posted: Fri May 02, 2003 9:57 am Post subject: |
|
|
| 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 |
|
 |
Sean Paul New member

Joined: 01 May 2003 Posts: 6 Location: New Orleans
|
Posted: Fri May 02, 2003 10:06 am Post subject: thanks for your help |
|
|
Yes it is now working.
Thanks again |
|
| Back to top |
|
 |
|
|
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.
|
|
|