The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Images in frames
bigdukefan32
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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! smile.gif

It would help if you posted the URL to a sample page.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 19 2006, 06:36 PM
Post #3


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(bigdukefan32 @ Sep 20 2006, 12:53 AM) *

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
bigdukefan32
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
bigdukefan32
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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. happy.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 05:00 AM