Welcome to Dream.In.Code
Become an Expert!

Join 149,495 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,348 people online right now. Registration is fast and FREE... Join Now!




iframes

 
Reply to this topicStart new topic

iframes

Sindee
24 Feb, 2007 - 01:41 PM
Post #1

New D.I.C Head
*

Joined: 17 Feb, 2007
Posts: 3


My Contributions
ok im experementing with iframes and was wondering if there was a code im missing to have only part of a website to show. Like say I want only something in the very middle of the website on the left hand side to show not the whole page. So far everything im trying im only getting the top left corner of the page to show

CODE
<iframe name="frame1" src="blabla.htm" ALIGN="bottom" frameborder="0" scrolling="no"> height="17" width="100"</iframe>


any help would be greatfull
User is offlineProfile CardPM
+Quote Post

girasquid
RE: Iframes
24 Feb, 2007 - 04:38 PM
Post #2

Barbarbar
Group Icon

Joined: 3 Oct, 2006
Posts: 1,294



Thanked: 18 times
Dream Kudos: 725
My Contributions
I think you might be having a problem with your <iframe> tag...taking a look at what you've posted, you seem to have misplaced the height and width attributes.

Girasquid.
User is offlineProfile CardPM
+Quote Post

Sindee
RE: Iframes
25 Feb, 2007 - 03:27 AM
Post #3

New D.I.C Head
*

Joined: 17 Feb, 2007
Posts: 3


My Contributions
bah i was quickly jotting the code line on here, it wasnt copy+pasted so its right in the html coding, good eye tho.
User is offlineProfile CardPM
+Quote Post

Craige
RE: Iframes
25 Feb, 2007 - 09:26 AM
Post #4

D.I.C Head
**

Joined: 2 Nov, 2006
Posts: 63


My Contributions
Well, I never use iframes, but I don't believe you can get them to show anything but the top left upon loading.
User is offlineProfile CardPM
+Quote Post

GallaUK
RE: Iframes
25 Feb, 2007 - 10:04 AM
Post #5

New D.I.C Head
*

Joined: 25 Feb, 2007
Posts: 2


My Contributions
If i understand what you are trying to do I think you can do it with Javascript.
Something along the lines of:
CODE
<iframe name="frame1" src="blabla.htm" ALIGN="bottom" frameborder="0" scrolling="no" height="17" width="100" onLoad="document.frame1.scrollBy(x,y)"></iframe>

This will most likely not work as-is, but with a bit of tweaking it might help. smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 05:57PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month