Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-29-2005, 06:09 AM   PM User | #1
spoofm0nkey
New Coder

 
Join Date: May 2005
Location: NY
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
spoofm0nkey is an unknown quantity at this point
double link for php include?

hi, i'm doing somethign where when a button is clicked it includes two diferent things... i got everything handled except one thing. in html how do i make a link that has two links? for example: i've got href="index.php?f=home.php" as the link, i want it to ALSO link to t=/images/main-image.jpg when the link is clicked.

i hope this is possable...
__________________
Scientology
www.sneakyweaselstudios.com
AIM: spoofm0nkey
Yahoo: SpoOf_m0nKeY

Last edited by spoofm0nkey; 08-29-2005 at 06:27 AM..
spoofm0nkey is offline   Reply With Quote
Old 08-29-2005, 10:38 AM   PM User | #2
E-Liam
New Coder

 
Join Date: Aug 2005
Posts: 54
Thanks: 3
Thanked 0 Times in 0 Posts
E-Liam is an unknown quantity at this point
Hi,

<a href="index.php?f=home.php" onclick="window.open('t=images/main-image.jpg' ,'newwin');">click me</a>

Something like that??

Cheers

LiaM
E-Liam is offline   Reply With Quote
Old 08-29-2005, 03:33 PM   PM User | #3
Pennimus
Senior Coder

 
Join Date: Jul 2005
Location: UK
Posts: 1,051
Thanks: 6
Thanked 13 Times in 13 Posts
Pennimus is on a distinguished road
No, he wants a button that will combine two different strings into one query string by the looks of things, this needs to be asked in the PHP forum.
Pennimus is offline   Reply With Quote
Old 08-29-2005, 10:03 PM   PM User | #4
Kurashu
Regular Coder

 
Join Date: Aug 2004
Location: The US of A
Posts: 767
Thanks: 1
Thanked 0 Times in 0 Posts
Kurashu is an unknown quantity at this point
Code:
<a href="index.php?f=home.php&t=images/main-image.jpg">Link Name</a>
Kurashu is offline   Reply With Quote
Old 08-30-2005, 10:51 AM   PM User | #5
Pennimus
Senior Coder

 
Join Date: Jul 2005
Location: UK
Posts: 1,051
Thanks: 6
Thanked 13 Times in 13 Posts
Pennimus is on a distinguished road
Quote:
<a href="index.php?f=home.php&t=images/main-image.jpg">Link Name</a>
I did wonder myself why not just do that. I presumed there must be some sort of reason it wouldn't work for him but couldn't for the life of me work out why not
Pennimus is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 04:43 PM.


Advertisement
Log in to turn off these ads.