View Full Version : need help with this web page
Daniel
09-18-2002, 05:14 AM
hello i'am new to createing web pages, i'am have a hard time linking multiple pages into jpg,buttons,ectra, like if i had a index page guestbook, join page, ectra, how can i link up each page from a pic!,
heres an example of what i'am trying to ask
<img src="enter_md_wht.gif" width="100" height="78" border="0" align="right">
thats an enter picture for page 2, how do i link it to that page?
i know how to write scrips for buttons but, i cant even seam to link them to
any help would be appreacted
thank you
Daniel
Dynasty
09-18-2002, 05:18 AM
<a href="url of page linked to"><img src="url of image" width="100" height="78" border="0" align="right"></a>
Is how you would do it. Replacing the appropriate parts of course.
Daniel
09-18-2002, 05:35 AM
so then i would put that on all pages,even the home page where the pic is losated,except change the ''url of pagelinked to'' would be the picter name? right,or would it be the url for the pic?
sorry i'am not a master yet,lol i'am trying though
thanks
Daniel
It's the url you supposed to link to.
BoR|S
09-18-2002, 09:33 AM
If you want to use the same picture on all your links, use this code example:
<a href="index.html" target="_top"><img src="img.gif" border="0" width="100" height="78" alt=""></a>
<a href="about.html" target="_top"><img src="img.gif" border="0" width="100" height="78" alt=""></a>
and so on, just change the file name inside HREF parameter in <a> tag.
If you want to use different image with every different page, change the file name inside SRC parameter in <img> tag.
Delicates
09-18-2002, 04:35 PM
Originally posted by Daniel
heres an example of what i'am trying to ask
<img src="enter_md_wht.gif" width="100" height="78" border="0" align="right">
You're missing alt= text on your image. BAAAAAAAAD! :p
Delicates
09-18-2002, 04:37 PM
Originally posted by BoR|S
If you want to use the same picture on all your links, use this code example:
<a href="index.html" target="_top"><img src="img.gif" border="0" width="100" height="78 alt=""></a>
<a href="about.html" target="_top"><img src="img.gif" border="0" width="100" height="78 alt=""></a>
BoR|S does know his markup well, apart from sometimes missing quotes. Listen to him. :D
Daniel
09-19-2002, 03:05 AM
thank you for the info and your hep,i have'nt tried to to it yet been pre ocupied with other stuff,i'am goning to attemp to do this here today,thank you once agin
Daniel
BoR|S
09-19-2002, 09:38 AM
2Delicates: Oooops! It was a typing mistake!!! Really!!! I'm going to fix it now, just after I post this msg... :p
Also, thanks for noticing! :rolleyes:
Daniel
09-19-2002, 01:40 PM
hello
i know i ask a buch of questions....i have one more that i'am not sure on how to due,if you have a application on a page,how can it be emailed to you through a submit button.....example
p align=center style='text-align:center'><INPUT TYPE="submit" ACTION="pag3.htm" VALUE="Submit Form" METHOD="post"></p>
</form>
thanks
Daniel
BoR|S
09-19-2002, 01:49 PM
The email address inside the action?
Daniel
09-19-2002, 01:56 PM
thats what i'am not sure on would it be under action,or how would i do some thing like that, what i typedabove isat the end of the scipt for the application i maid,......how could i have the form emailed to my address........any thoughts on that one...
thanks
Daniel
Delicates
09-19-2002, 04:11 PM
Originally posted by Daniel
...if you have a application on a page,how can it be emailed to you through a submit button.....example
p align=center style='text-align:center'><INPUT TYPE="submit" ACTION="pag3.htm" VALUE="Submit Form" METHOD="post"></p>
</form>
thanks
Daniel
You can't unless you use serverside scripting.
See <form> (http://www.w3.org/TR/html401/interact/forms.html#h-17.3) tag: Action attribute specifies a form processing agent. User agent behavior for a value other than an HTTP URI is undefined.
Your are also trying to use <input> (http://www.w3.org/TR/html401/interact/forms.html#h-17.4) tag as a <form> tag, which is incorrect. <input> tag has no method= or action= attributes.
Also I recommend you use lower case for <tags> and attributes=.
Waves
09-19-2002, 06:21 PM
Thanks for the input. I was just looking on how to improve my forms.
Daniel
09-21-2002, 05:47 AM
hello
i still cant seam to figure out how to have a application form sent to me by email when they hit the submit button,i cant figure out the script for it......can any one help with the script?....also
i was trying to put a mp3 soung in the background of a web page,to where it would play when they came to this page,cant figure that out eather....please any help would be appreated
thanks
Daniel
Daniel
09-21-2002, 09:33 AM
thank you for your help...
i thought about the song in the back ground and decided not to
do it , it does seam like a pain.....
thanks again
Daniel
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.