Thread: Inline frame Question Please
Results 1 to 12 of 12
Related
-
Inline Frame Help Forum: HTML Forum
Replies: 3 -
AutoExpanding Inline Frame Forum: HTML Forum
Replies: 1 -
Stop Inline Frame Forum: Website Scripts Forum
Replies: 1 -
Inline Frame Scrollbar Manipulation Forum: Website Scripts Forum
Replies: 1 -
Drop down menu inline frame Forum: HTML Forum
Replies: 3
-
10-17-2003, 05:28 PM #1
Inline frame Question Please
H/Lo
I have this issue that has stopped me from sleeping ...
Here is th issue
Here is the frame question I have.
I want to use inline frames on a site.
First Option
How do I get all the pages to come in one single frame, when their links are clicked ? That has got me puzzled for the last 14 hours(I am a newbie)
Second Option
How do I specify a set number of pages and not another. eg I want to show only ten pages...because I have a lot of text to display, but do not want to lose contact with the browser.
Another question.
How do I auto scroll items in an inline frame...
This is not so inportant...but the other two have me at my wits end...
Thanx...
ps: your forum has a lot of options...I think I will be here for a long while...
-
10-18-2003, 11:46 AM #2bald headed old fart
Status- Offline
Join Date- Aug 2003
Location- chertsey, a small town 25 miles south west of london, england.
Posts- 739
Hi there wahid,
I hope that this will help to give you a good nights sleep
I think that your first option will be answered, but am not quite sure
what is required by your option twoCode:<html> <head> <title>Wahid's Iframe</title> <style type="text/css"> <!-- iframe {position: absolute;top:20%;left:30%;width:324; height:200; border: solid 5px #000000;} a:link{font-family:arial;font-size:18px;color:#000000;} a:visited{font-family:arial;font-size:18px;color:#000000;} a:hover{font-family:arial;font-size:18px;color:#ff0000;} a:active{font-family:arial;font-size:18px;color:#0000ff;} //--> </style> </head> <body> <iframe name="wahid"> </iframe> <a href="http://www.ahfb2000.com/webmaster_help_desk/showthread.php?t=2242"target="wahid" >www.ahfb</a><br /> <a href="http://www.w3.org/TR/REC-CSS2/"target="wahid" >www.w3.org</a><br /> <a href="http://www.w3schools.com/css/default.asp"target="wahid" >www.w3.org</a><br /> </body> </html>
thead
-
10-18-2003, 01:15 PM #3
Hello Coothead
Can I tell you your name cracks me up....how did you get that name...never mind it is cool with me.
You are a big help man..I fell asleep from exhaustion...it is now 2:06 am(night time) where I am in Singapore.....
Now that you have answered...that it raises another question...or two...
First I am using drag and drop, to learn html on a fast track, and I am using NetOBjects 7.5. so all my pages are .html...
Here is one of those questions...
If I have say 100 pages...do I just add them in like
.
<a href="http://www.ahfb2000.com/webmaster_help_desk/showthread.php?t=2242"target="wahid" >www.ahfb</a><br />
<a href="http://www.w3.org/TR/REC-CSS2/"target="wahid" >www.w3.org</a><br />
http://www.w3schools.com/css/default.asp"target="wahid"
</body>
</html>
href="http://www.fouthpage/css/default.asp"target="wahid" >www.w3.org</a><br />
href="http://www.fifthpage/css/default.asp"target="wahid" >www.w3.org</a><br />
and so on...
( I notice that the pages in your example are not html, but have asp etc.....as the extension...
B. Is that a factor.?
C. I mean do I just go ahead and put .html for the pages...?
OK here is the second question.(that one really head threesorry...
Question 2.
If I have 100 pages do I place all the calls that you gave for 100 pages just like you just did?....
OK here is an explanation on the second option...
All the other pages are reasonble length...and some are very long....
I was thinking that if I only have ten pages which are very long...I may only need to target those ten pages...
I hope that is clear....perhaps I am not very good with either this html thingy, and I really want to learn...man really.
On the third question I found a scrolling/floating iframe
here: http://www.dynamicdrive.com/dynamicindex2/iframe-scroller.htm
and then I found this generator...can you imagine...
http://www.firehouse58.com/tools/inline_frame.html
Thanx...now you know I will not be able to sleep again for awhile.until you answer...
Peace man,
-
10-18-2003, 01:32 PM #4
Hi Again Coothead
I triedyour script neato man...I also found your links educational...I have added them to my learning resource...that very smart of you...to provide help by giving acces to help...neat..
OK You solved one issue...and raise some more.
Your iframe provides a menu...automatically...
But my menu does not come up like that neither does my iframe position itself like that
actually my menu is to the right of my iframe...hmmmmm
I am thinking...I am going to look on that script again...I just thought of something...I am going to be up for awhile.
Thanxs....
-
10-18-2003, 01:40 PM #5bald headed old fart
Status- Offline
Join Date- Aug 2003
Location- chertsey, a small town 25 miles south west of london, england.
Posts- 739
If I have say 100 pages...do I just add them in like
I notice that the pages in your example are not html, but have asp etc.....as the extension...
B. Is that a factor.?
C. I mean do I just go ahead and put .html for the pages...?
Thanx...now you know I will not be able to sleep again for awhile. until you answer...
cthead
oh, I almost forgot why coothead...
well my mother called me bird brained as a child but now...
I am old and hairless in fact...
bald as a coot so.....
-
10-18-2003, 02:22 PM #6
Quick reply...running a monologue here LOL
Never mind I am just providing as muc information as possible in case you come back....
1. How do I position the menu links to the right of the iframe?
2. How do I get them closer almost butting on the iframe.
3. How do I integrate this script...
<script language="JavaScript1.2">
var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
var dom=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1
//Specify IFRAME display attributes
var iframeprops='width=99.9% height=321 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="auto"'
//Specify 7 URLs to display inside iframe, one for each day of week
var daycontent=new Array()
daycontent[1]="monday.htm" //Monday content
daycontent[2]="tuesday.htm" //Tuesday content
daycontent[3]="wednesday.htm"
daycontent[4]="thursday.htm"
daycontent[5]="friday.htm"
daycontent[6]="http://www.wearmuslimgear.net/html/barehome.html"
daycontent[0]="sunday.htm"
//No need to edit after here
if (ie||dom)
document.write('<iframe id="dynstuff" src="" '+iframeprops+'></iframe>')
var mydate=new Date()
var mytoday=mydate.getDay()
function dayofweek_iframe(){
if (ie||dom){
var iframeobj=document.getElementById? document.getElementById("dynstuff") : document.all.dynstuff
iframeobj.src=daycontent[mytoday]
}
}
window.onload=dayofweek_iframe
In your code...or I cannot.
I would like to change the index iframe every day as this script allows...but I like your script......so the integration is either going to be done or I will discard the idea...
Thanx a bunch even if you only read....Last edited by wahid; 10-19-2003 at 11:42 PM.
-
10-18-2003, 02:27 PM #7
I think your mother knew you best...
I guess now you can say look mom...now hands er head...LOL...
I am also hairless...by choice...I shave my head every three days...
I like to feel the breeze and rain on my head...and when I wash my face...I wash my whole head all the way to the back of my neck....real cool feeling...really...
I like the name coothead...though...LOL, I was thinking lice/louse...as they are called cooties...LOL, you kno school yard nicknames...Oh well...
You see I am wide awake...
Thanx abunch for the additional info...man really.
Peace
-
10-18-2003, 03:40 PM #8bald headed old fart
Status- Offline
Join Date- Aug 2003
Location- chertsey, a small town 25 miles south west of london, england.
Posts- 739
Hi there wahid,
At the moment I have only looked at
the scrolling/floating iframe and have
attached it as a zip file for you to assess.
AS far as positioning and frame size is concerned...
you make adjustments here...
iframe {position: absolute;top:20%;left:30%;width:324px; height:200px; border: solid 5px #000000;}
As you can see you may use '%' or 'px' according to your needs.
I have not been able to utilize the script that you posted...
maybe Dave or QuietDean
the resident Gurus may be able to help you with that.
As for my head I shave it every day and also cannot stand to have it
covered winter or summer
cthead
-
10-18-2003, 05:40 PM #9
Thanx Coothead
The scrolling iframe is an extra...I never thought of it as a scrolling menu...neat. I will also learn from it.
As advised I will try to tweak it to see if I can get the menu just like the one in the url...here:
It may not be possible...
I just notice the menu is actually within space that the iframe will be targetted, after calling that first page and a non menu page comes up Houston we will have a problem....
I think I better go to sleep now...I will need all my everything later...
Thanx for everything man...you have been a great help...thanx for sticking with me....
Have you ever noticed how people who have hair, do not want it and the others....well the use tupee and weave and wigs....
I saw QuietDeans hair...I think we should shave him LOL.
PeaceLast edited by wahid; 10-19-2003 at 11:41 PM.
-
06-28-2006, 07:05 AM #10
I need help with this!
I tried your inline frame code and it worked perfectly. But then I tried to put the links and the iframe in different frames, which worked, too. But then, a separate frame would show at the corner of the page. Can you please tell me where I went wrong? And how do you make a page appear in the iframe?
-
06-28-2006, 07:32 AM #11bald headed old fart
Status- Offline
Join Date- Aug 2003
Location- chertsey, a small town 25 miles south west of london, england.
Posts- 739
Re: Inline frame Question Please
Hi there gal69lag,
and a warm welcome to these forums.
This thread in which you are posting is almost 3 years old.
I would suggest that you start a new thread for your question,
supplying a link to your site and /or the code that is giving you problems.
-
07-03-2006, 05:27 AM #12
Re: Inline frame Question Please
uh, no prob. I fixed it myself