Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Any creative way to pull html content same way js files are pulled
- From: trojani2000 at hotmail.com (BEKIM BACAJ)
- Subject: [Javascript] Any creative way to pull html content same way js files are pulled
- Date: Mon Mar 31 15:36:06 2003
Im sure you are aware of the fact that IE has implemented a databinding object since IE 4.01 version browser, but that NN didn't(?) -And because of this fact you ask for some work-around, in order to write browser independent scripts and HTML, I was having this problem a few years ago because of a simple thought: My aim was having some page, "a master layout", that can host some fancy contents, always fresh materials, realtime updatable, as the client reads it. But I never wrote it. My original idea was to update DIV contents Headings etc, without ever leaving the page. <script src="" ...can read any text doc async., what makes it the best choice. As soon as you change the src.,loc., it downloads the newlly aquired location. with a script that can read the src file date modifyed, you can ask automatic reload of the same document with some timer cycling at most once per minute, as son as the content manager has closed the document, and as soon as the script checks for date time change and compares with variable time date of the first session load, and returns false it is time to notify and ask the client:new content avilable! update: yes |now, he will be propted again in a minute. but as I've said, I never wrote it. About scrollbars, srollbars-not, reading these posts you've inspired me to think of a script that can make it possible (in case of nonscrollable body height and width of the page two times larger than user screen) to give the client ability to navigate and move the page layout with the mouse same way they do in AcrobatReader. Woulldn't it be nice? Nice creative exchanges going on Thanks >From: "DEV" <dev@xxxxxxxxxx> >Reply-To: "[JavaScript List]" <javascript@xxxxxxxxxx> >To: "[JavaScript List]" <javascript@xxxxxxxxxx> >Subject: [Javascript] Any creative way to pull html content same way js >files are pulled >Date: Mon, 31 Mar 2003 04:34:17 -0800 > >Des anypone of you know how I can implement a server side include file >flexibility on the client side ? What I mean by that is this; > ><Script src='File.js'></script> does absolutely the exact thing I have in >mind except that the requested content must be in a JS format. As a result >of this condition, if you happened to have a content in html to display ( >which is the most of the case ) , you have to transform it so it does the >job using document.write commands. > >Of course one alternative to my pure html pull wish is to tap into >iframe's. > >For example , following will do the trick.. > ><script> >var sFile='/mycontent.HTM' ></script> > > > >some html > ><script>document.write "(<iframe src='" + sFile + "'></script> > >But this will cause the scroll bars to come on in the midlle of the page in >the case that the sFile content is lengthy. That's the price you pay for >that includability. >In a server side include however, you never run into this scroll-bar >situation. > >Does dhrml or some other technology other than iframe's help me in any way >? > >Thanks > >_______________________________________________ >Javascript mailing list >Javascript@xxxxxxxxxx >https://lists.LaTech.edu/mailman/listinfo/javascript _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
- Follow-Ups:
- Prev by Date: [Javascript] IGNORE PREV. READ THIS PLS> Any creative way to pullhtml content same wayjsfiles are pulled
- Next by Date: [Javascript] Any creative way to pull html content same way jsfiles are pulled
- Previous by thread: [Javascript] Form Cookie in NETSCAPE
- Next by thread: [Javascript] Any creative way to pull html content same way jsfiles are pulled
- Index(es):