User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 427,194 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,162 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 548 | Replies: 2
Reply
Join Date: Oct 2007
Posts: 20
Reputation: nishanthaMe is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
nishanthaMe nishanthaMe is offline Offline
Newbie Poster

insert a dev tag with in javascript

  #1  
Feb 21st, 2008
Hi all;
i want to insert a a div tag inside the javascript (in order to : xmlhttpreuest object status is not 4 then a messaga saying Loading..............) as well as I want to put that message center of the page but should not change if the scroll bar dragged.so I would be thankfull if anyone can give me a help '
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Posts: 20
Reputation: nishanthaMe is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
nishanthaMe nishanthaMe is offline Offline
Newbie Poster

Re: insert a dev tag with in javascript

  #2  
Feb 22nd, 2008
i have inserted the div element with DOM functions but I want to keep it in a fix location with out moving when the browser scrollers are using
Reply With Quote  
Join Date: Jan 2008
Location: Bangalore, India
Posts: 336
Reputation: DangerDev is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 32
DangerDev's Avatar
DangerDev DangerDev is offline Offline
Posting Whiz

Re: insert a dev tag with in javascript

  #3  
Feb 22nd, 2008
use onScroll function in body:
use onScroll like this:
<body onScroll="alert('scrolling');">
</body>

on this event reset the left and top property of div element.
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
~Mitch Ratcliffe
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 10:19 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC