Damsel in DistresS!!!!!!!!!!!!!!!1

liunx

Guest
Hi there, my name is actually Jen...although I have always used pamlalee for anything online :)<br />
<br />
I am new to this forum and relatively new to html programming and website development (fresh outta college...) so I am building a site for a client and tried to teach myself how to use iframes...<br />
<br />
if you go to this link I have set up for testing...<br />
<!-- m --><a class="postlink" href="http://www.parachuteconsulting.com/parachute/home.html">http://www.parachuteconsulting.com/parachute/home.html</a><!-- m --> <br />
<br />
the problem is this.. I want each of the nav buttons to display a text block in "iframe" and a new image per page (from the same button) in iframe2 (currently the dragon image I created...<br />
<br />
So if some clicks on the "about parachute" button I want it to tell iframe to load the html page in there and simultaneously load an image in iframe2...is this possible, make sense?<br />
<br />
so each button should load two iframes...<br />
<br />
My second problem is the border around iframe one...I want it to have a 10px border around the oading text page...<br />
<br />
And the last problem is...the scroll bars are not needed around the dragon image... I dont know why there is a border around that.<br />
<br />
AHHHHH I am pulling my hair out trying to resolve this...will some kind person help a befrazzed aspiring webwoman out...<br />
<br />
<!-- e --><a href="mailto:p[email protected]">[email protected]</a><!-- e --><!--content-->You'll probably need a javascript function to change 2 iframes at once, such as windows.open.<br />
<br />
As far as the scrollbars, make sure that the image in the iframe, and/or the page being loaded in the iframe, is smaller than the iframe itself. That will eliminate the scrollbars.<!--content-->First off thanks for replying...<br />
The image is the exact size as the frame...so I still cant get the scrollbars to go away? I must have something screwed in the code<!--content-->make sure the image's border is set to zero, and the iframe should be a pixel or two bigger anyway<!--content-->Thanks<br />
<br />
<br />
<div align="left"><iframe src=http://www.htmlforums.com/archive/index.php/"images/home_05.gif" name="iframe2" width=475 height=332 frameborder="0"></iframe> <br />
</div><br />
<br />
this is the code for the second iframe...anthing look hokey?<!--content-->Secondly ..gentleman , I know this post is a bit much too ask ...so i would be willing too exchange say ....a pretty darn tootin vector illustration in exchange for these problems solved...send me a pic and ill trace it in vector for ya ? hmmmm?<!--content-->Ummm.... thirdly I will keep checkin this post over the weekend :) Very Special thank you in advance to all involved<!--content-->all of those attrributes should be in quotes<!--content-->on the frame holding the image,<br />
instead of just the image, put the image on a page by itself and kill off the extra white space....<br />
<br />
<html><br />
<head><br />
<style type="text/css"><br />
html,body,img {margin:0;padding:0;border:0;}<br />
</style><br />
</head><br />
<body><br />
<img src=http://www.htmlforums.com/archive/index.php/"images/home_05.gif"><br />
</body><br />
</html><br />
<br />
then adjust your iframe coding to find that page instead of direct to the image itself.<br />
<br />
to change two iframes during one click, use this example and apply it to your situation...<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"newpage1.html"<br />
onClick="parent.left.location='newpage2.html'" target="right"> text or image </a><br />
<br />
newpage1.html will load into the iframe area called right.<br />
newpage2.html will load into the iframe area called left.<br />
change the right, left, newpage1.html, and newpage2.html values to suit your needs.<!--content-->Well thanks a bunch Paladin htmlite for laying your hands on this ! Send me an image to my hotmail account (900 k max..) with color prefs, size, format etc and I ll whip something up for you ...and yes I do people and portraits etc..cars...whatever... ( I will send you the original illustrator file of course as well), <br />
Thank again to everyone for their help and suggestions ...this is a great forum!<br />
<br />
you all rock<!--content-->
 
Back
Top