Images in frames |
Images in frames |
bigdukefan32 |
Sep 19 2006, 05:53 PM
Post
#1
|
Group: Members Posts: 5 Joined: 19-September 06 Member No.: 170 |
I am trying to add a picture in my frame. I have 3 frames, a banner on the top, a table of contents on the left and side, and a main frame where all links are loaded to. I am trying to put a picture in the banner and I want the image (which is a JPEG) to be able to fit inside of the frame. I don't want to have this picture that has to be scrolled down to seen. I want it to be forced to fit into the page with no white space above it or below it. Can anyone help me out?
Another problem that i am running into is that I have created a form and I have it all done and designed. I am having trouble with the submit button. I don't have the programming skills to do the CGI stuff and I want to just use HTML code if possible. I want to have the form be submitted, then have a "thank you" page and have the results emailed to me in my inbox. Let me know what you all think of this or if you need more information. Thanks in advance. Duke |
pandy |
Sep 19 2006, 06:15 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Hi!
It would help if you posted the URL to a sample page. |
Christian J |
Sep 19 2006, 06:36 PM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
I am trying to add a picture in my frame. I have 3 frames, a banner on the top, a table of contents on the left and side, and a main frame where all links are loaded to. I am trying to put a picture in the banner and I want the image (which is a JPEG) to be able to fit inside of the frame. I don't want to have this picture that has to be scrolled down to seen. I want it to be forced to fit into the page with no white space above it or below it. Can anyone help me out? Give the frame the same height as the image? QUOTE Another problem that i am running into is that I have created a form and I have it all done and designed. I am having trouble with the submit button. I don't have the programming skills to do the CGI stuff and I want to just use HTML code if possible. I want to have the form be submitted, then have a "thank you" page and have the results emailed to me in my inbox. Let me know what you all think of this or if you need more information. This requires some kind of server-side script (PHP, ASP, CGI etc). Your web host may offer preinstalled scripts, or you might find a remotely hosted one. |
bigdukefan32 |
Sep 19 2006, 07:17 PM
Post
#4
|
Group: Members Posts: 5 Joined: 19-September 06 Member No.: 170 |
I don't have the website published. I am in the middle of developing but here is the HTML code for the frames. Is there any tag that I can include that can make the image scale down so that it will fit in a smaller frame size?
<html> <head> <title>Rick Champion for District Attorney</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <frameset rows="266,*" cols="*" frameborder="NO" border="0" framespacing="0"> <frame src="banner.htm" name="banner" scrolling="Auto" noresize > <frameset rows="*" cols="144,*" framespacing="0" frameborder="NO" border="0"> <frame src="table of contents.htm" name="table of contents" scrolling="Auto" noresize> <frame src="homepage.htm" name="mainframe" scrolling="auto"> </frameset> </frameset> <noframes><body> </body></noframes> </html> Many Thanks, Duke |
pandy |
Sep 19 2006, 07:55 PM
Post
#5
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
AS Christian said, make the frame the same height as the image. Resize the image in an editor to the size you want. If I'm not missing anything, that's it.
|
bigdukefan32 |
Sep 19 2006, 09:01 PM
Post
#6
|
Group: Members Posts: 5 Joined: 19-September 06 Member No.: 170 |
Thanks a lot. It worked. Now if I could just get that stupid form thing to work. Any ideas for that?
|
pandy |
Sep 20 2006, 12:18 AM
Post
#7
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
A form basically needs to be submitted to a server side script. You can use mailto instead, but that means you'll get the form data sometimes, but not always.
http://htmlhelp.com/faq/html/forms.html#mailto-form If there is no default email client configured on the computer, the user may prefer web mail or use a public computer, it won't work. Or he may cancel the operation because he doesn't want to reveal his email address. An alternative is a service that handles the script bit for you. If the service is free there may be ads in the email you receive. You can see what you find under Remotely Hosted at for example http://hotscripts.com. But installing a script isn't brain surgery, even if it can make your hair gray if you are new at it, so if your host allows you to run scrips I think you should give it a go. Everyone has to start somewhere. |
Lo-Fi Version | Time is now: 25th April 2024 - 10:11 AM |