It is currently Mon Jul 16, 2018 3:39 pm


form help

Help with Web Design, Programming, and Graphics

Moderator: Gecko

form help

Postby robbro » Fri Apr 15, 2005 1:50 am

i trying to make a form button at the side of a frame be a link. And i want the link to show on the middle frame and not the left frame if someone understands what i mean can you help tis urgant :( , Rob. thanks :)
SIC INIT
User avatar
robbro
Executive Geek
Executive Geek
 
Posts: 751
Joined: Sun Jan 18, 2004 1:00 am
Location: UK , London

Thanks given:0
Thanks received:0
Top

Postby Gecko » Fri Apr 15, 2005 2:06 am

Look in your source code for for your button:

i mg s rc = "images / imagename. jpg h ref = "pagename.html" target = "middle"

the target is what you need to change to the name of your middle frame
User avatar
Gecko
Super Moderator
Super Moderator
 
Posts: 5209
Joined: Thu Oct 25, 2001 1:00 am
Location: Florida, USA

Thanks given:1
Thanks received:23
Top

Postby liljim » Fri Apr 15, 2005 2:10 am

I must admit that's a little confusing and my coding skills are "rusty" but i'll try.

If your using HTML and the button is an image file, such as .gif or .jpg ect you can use a linked image code.

Code: Select all
<a href="www.yourlink.com"><img src="button.gif"></a>


What im unclear of is where you want the button, say you want the button on the left side and the content that comes from clicking it to display in the middle, you would need to use target="_ "

Code: Select all
<a href="www.yourlink.com" target="_framename"><img src="button.gif"></a>


That may not be anywhere close to what your looking for but it might give us something to work from.

Let us know..
liljim
User avatar
liljim
Moderator
Moderator
 
Posts: 3017
Joined: Mon Mar 03, 2003 1:00 am
Location: Louisiana
Operating System: Win 7 Home Premium X64

Thanks given:0
Thanks received:12
Top

Postby robbro » Fri Apr 15, 2005 2:17 am

but this is a form button ? i tried that doesnt work :S its not just a picture its a form button itself? :?: if you understand what i mean :)
SIC INIT
User avatar
robbro
Executive Geek
Executive Geek
 
Posts: 751
Joined: Sun Jan 18, 2004 1:00 am
Location: UK , London

Thanks given:0
Thanks received:0
Top

Postby Gecko » Fri Apr 15, 2005 2:51 am

Code: Select all
<INPUT TYPE="BUTTON" onClick="location.href='pagename.html'" target="_framename">
User avatar
Gecko
Super Moderator
Super Moderator
 
Posts: 5209
Joined: Thu Oct 25, 2001 1:00 am
Location: Florida, USA

Thanks given:1
Thanks received:23
Top

Postby robbro » Fri Apr 15, 2005 2:54 am

ah okay thanks gecko :)

Also is there a way i could make a online shopping basket? seems weird i know lol...

Thanks again dude, Rob. :)
SIC INIT
User avatar
robbro
Executive Geek
Executive Geek
 
Posts: 751
Joined: Sun Jan 18, 2004 1:00 am
Location: UK , London

Thanks given:0
Thanks received:0
Top

Postby Gecko » Fri Apr 15, 2005 2:58 am

I have used this one before and it's free
CubeCart
But you need php and a sql database on the server.
User avatar
Gecko
Super Moderator
Super Moderator
 
Posts: 5209
Joined: Thu Oct 25, 2001 1:00 am
Location: Florida, USA

Thanks given:1
Thanks received:23
Top

Postby robbro » Fri Apr 15, 2005 3:12 am

oh okay thanks geck, one more question if i can ask. if i wanted the button to show a warning and another link like that one you showed me for middle can i do that ? :)
SIC INIT
User avatar
robbro
Executive Geek
Executive Geek
 
Posts: 751
Joined: Sun Jan 18, 2004 1:00 am
Location: UK , London

Thanks given:0
Thanks received:0
Top


Return to Web Development

Who is online

Users browsing this forum: No registered users and 3 guests

cron