2
   

Href Location using CSS

 
 
Reply Wed 20 Aug, 2003 03:30 pm
On this page: sorry for using link
you will notice I am using CSS for the table rollovers. How do I make the href link to a target frame? The iframe named mid.

I didn't think u could do it using CSS, hopefully I am wrong. If so, what else should I do to get the same effect?
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 2 • Views: 1,634 • Replies: 5
No top replies

 
Craven de Kere
 
  1  
Reply Wed 20 Aug, 2003 03:39 pm
Please stop posting links. I don't mind helping but many unscrupulous site owners fake help requests just to get their site linked on other sites. That will not be permitted here.

Here is your solution:

In your TD tag include this:

Code:
onclick="mid.location.href='linkedfile.html'"
0 Replies
 
BobbyDouglas
 
  1  
Reply Wed 20 Aug, 2003 03:48 pm
K, i edited out the link. Im not here for better search results, here to get some . I have tried that, and it did not work. I am trying to target it into an Iframe, is that the rason why it wont work?

(how do i go about showing the ex. if i cant post links, also, why have the URL tag??)new here, so i haven't picked up on all the rules.. thanks for the help tho Wink
0 Replies
 
Craven de Kere
 
  1  
Reply Wed 20 Aug, 2003 03:50 pm
The above code works to target a table cell to an IFRAME. I guarantee it.

mid = target name
linkedfile.html = file to link to.
0 Replies
 
Craven de Kere
 
  1  
Reply Thu 21 Aug, 2003 10:49 pm
Note that the above is the way to get the whole table cell linked and targeting the IFRAMe. To get the text link to do the same just add target="mid" to the link.
0 Replies
 
BobbyDouglas
 
  1  
Reply Sun 24 Aug, 2003 02:22 pm
Ok, thanks. It works. I think before I replaces location with the frame it links to.
Thanks,.
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » Href Location using CSS
Copyright © 2025 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 01/15/2025 at 10:29:11