Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 10-19-2004, 09:19 PM a:hover
Sarpidon's Avatar
Novice Talker

Posts: 5
Trades: 0
Ok this works in firefox . flink will change the text color to red when the mouse is over the link.

Code:
<A class="flink" style="cursor:pointer"
onclick="javascript:open.window('somepage.htm,'example')",>
click me, </a>
In IE the text color does not change. Only when I put a href="#" the color will change when the mouse is over. However this is not desirable as when one clicks the link with the href="#" the page scrolls back to the top.! ? What to do?


Last edited by Sarpidon; 10-19-2004 at 09:21 PM..
Sarpidon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-19-2004, 09:21 PM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
Trades: 0
Sarpidon, edit your post and check the box which disables smiley faces in your post.
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Old 10-20-2004, 06:27 AM
Manson's Avatar
Super Talker

Posts: 106
Location: South Wales, UK
Trades: 0
Sarpidon, when you have the # in a link, the page will just reload itself. That is why the page reloads back to the top.

Try taking out the comma just before the > of the link.

E.G.

FROM:
Code:
<A class="flink" style="cursor:pointer"
onclick="javascript:open.window('somepage.htm,'example')",>
click me, </a>
TO:
Code:
<A class="flink" style="cursor:pointer"
onclick="javascript:open.window('somepage.htm,'example')",>
click me, </a>
Hope that helps,

Manson
__________________
Admin of
Please login or register to view this content. Registration is FREE
Manson is offline
Reply With Quote
View Public Profile Visit Manson's homepage!
 
Old 10-20-2004, 02:59 PM
karinne's Avatar
Extreme Talker

Posts: 197
Location: Quebec, Canada
Trades: 0
hehe manson... those two are the same

HTML Code:
<A class="flink" style="cursor:pointer"
onclick="javascript:open.window('somepage.htm,'example')">
click me, </a>
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE


Getting on the Web Standards band-wagon? Get these books -
Please login or register to view this content. Registration is FREE
and
Please login or register to view this content. Registration is FREE


Takin' in the view from the outside. Feeling like the underdog. Watching through the window I'm on the outside. Living like the underdog.
-Dream Theater
karinne is offline
Reply With Quote
View Public Profile Visit karinne's homepage!
 
Old 10-20-2004, 04:14 PM
Extreme Talker

Posts: 160
Trades: 0
Make sure that your CSS has the hyperlink styling instructions in this order :

a:link

a:visited

a:hover

a:active
ElectricSheep is offline
Reply With Quote
View Public Profile
 
Old 10-20-2004, 07:26 PM
Manson's Avatar
Super Talker

Posts: 106
Location: South Wales, UK
Trades: 0
oh yea lol, my mistake :P
__________________
Admin of
Please login or register to view this content. Registration is FREE
Manson is offline
Reply With Quote
View Public Profile Visit Manson's homepage!
 
Reply     « Reply to a:hover
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22999 seconds with 12 queries