soompi forums: [coding] Need Help Coding Iframes {?} - soompi forums

Jump to content

Page 1 of 1

[coding] Need Help Coding Iframes {?}

#1 User is offline   ic3ic3b4by 

  • Member
  • Pip
  • Group: Members
  • Posts: 577
  • Joined: 30-October 06

Posted 07 January 2007 - 07:54 AM

I dont know if I`m posting at the right forum. T_T If not, than I am sorry &please delete.






I am desperately needing help with coding.
this is the basic format of my website



but the thing is i wanted to create a frame inside the big black square but dont know how T_T
How do I do it?


This is the size of the frame I want and where to place it. T____T






Please teach me how I can code it
or if you can code it for me that would be absolutely perfect
Thanks 10000 times in Advance. <3

ICE ♥S YUNHO.you`re my anti-drug _____________________PARTICIPATE IN MICKY 2007 BIRTHDAY PROJECT!!!!


[GB1] [GB2] [BG] [CSIG <3] [S] [MI] [D] ; HOT DBSK PIX ; KIMCHI ; TR FREEEEZER ♡

0

#2 User is offline   slau 

  • Member
  • Pip
  • Group: Members
  • Posts: 163
  • Joined: 28-August 06

Posted 07 January 2007 - 08:20 AM

Hi!

looks nice, here's the code
<html>

<body style="background: url(http://img.photobucket.com/albums/v225/ic3ic3b4by/INDEXBG.gif) no-repeat top left">
  
  <iframe src="monkey.html" frameborder="0"  style="position: absolute; left: 340px; top: 190px; height: 400px; width: 440px;">
  
</body>

</html>
  
  


monkey.html would be replaced with the webpage you want in the iframe.

Test it here:

http://slautech.org/ic3ic3b4by/
0

#3 User is offline   ic3ic3b4by 

  • Member
  • Pip
  • Group: Members
  • Posts: 577
  • Joined: 30-October 06

Posted 07 January 2007 - 05:28 PM

sorry to bother again. T_T


i pasted the code in dreamweaver
it works on my domain but not dreamweaver
i have 2 questions



1) How do I change the url to just like <img src="INDEXBG.jpg">
QUOTE
<body style="background: url(http://img.photobuck...by/INDEXBG.gif) no-repeat top left">
like without the long url just something from the same foler



2) How do I name the frame? like "_main" or something.




sorry so many questions T_T i`m so lost
ICE ♥S YUNHO.you`re my anti-drug _____________________PARTICIPATE IN MICKY 2007 BIRTHDAY PROJECT!!!!


[GB1] [GB2] [BG] [CSIG <3] [S] [MI] [D] ; HOT DBSK PIX ; KIMCHI ; TR FREEEEZER ♡

0

#4 User is offline   slau 

  • Member
  • Pip
  • Group: Members
  • Posts: 163
  • Joined: 28-August 06

Posted 07 January 2007 - 10:39 PM

Hi again smile.gif

ok, you can replace the long image url with just the image name.

And to rename the frame just look at the code below:

<html>

<body style="background: url(INDEXBG.gif) no-repeat top left">
  
  <iframe name="main" src="monkey.html" frameborder="0"  style="position: absolute; left: 340px; top: 190px; height: 400px; width: 440px;">
  
</body>

</html>


I updated the test page so you can see how you can have links open in the iframe. what version of dreamweaver do you have? I use notepad.
0

Share this topic:


Page 1 of 1

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users