Click here to Skip to main content
15,883,901 members
Home / Discussions / Web Development
   

Web Development

 
QuestionServer Access Issue Pin
No-e12-Apr-07 4:52
No-e12-Apr-07 4:52 
AnswerRe: Server Access Issue Pin
kubben12-Apr-07 5:26
kubben12-Apr-07 5:26 
QuestionASP.NET 2.0 Login Problems Pin
Illegal Operation12-Apr-07 2:20
Illegal Operation12-Apr-07 2:20 
AnswerRe: ASP.NET 2.0 Login Problems Pin
Magnus Salgo12-Apr-07 4:34
Magnus Salgo12-Apr-07 4:34 
AnswerRe: ASP.NET 2.0 Login Problems Pin
Jaiprakash M Bankolli12-Apr-07 22:58
Jaiprakash M Bankolli12-Apr-07 22:58 
QuestionIIS problem Pin
Navneet Hegde12-Apr-07 1:27
Navneet Hegde12-Apr-07 1:27 
AnswerRe: IIS problem Pin
Jaiprakash M Bankolli14-Apr-07 4:02
Jaiprakash M Bankolli14-Apr-07 4:02 
QuestionJavascript resizing code Pin
Sam Heller11-Apr-07 22:54
Sam Heller11-Apr-07 22:54 
I have a page designed and laid out entirley using CSS. The main content of the page sits in a DIV and so does a sidebar which runs down it's side. The problem I have is that the side bar is pretty much all of the time shorter than the content DIV. What I wanted was some code to force the sidebar DIV to replicate the height of the content DIV and therefore act like two td cells in a table. Anyway I came up with the following Javascript code which is run on the pages onload event.

function FannyFart() <br />
{<br />
    //Do A Fanny Fart<br />
	var ContentHeight = document.getElementById("Content").clientHeight;<br />
	document.getElementById("ctl00_SideBar").style.height = (ContentHeight + "px");<br />
}


This code seems to work and provides correct outcome except for two scenarios. A: When a validator appears dynamically. B: When the page content changes upon and AJAX async call.

Now obviously this is because by code is not running because the page onload event is not happening. How can I have my code rerun on any change to the page?
AnswerRe: Javascript resizing code Pin
badgrs11-Apr-07 23:08
badgrs11-Apr-07 23:08 
GeneralRe: Javascript resizing code Pin
Sam Heller11-Apr-07 23:31
Sam Heller11-Apr-07 23:31 
GeneralRe: Javascript resizing code Pin
badgrs12-Apr-07 23:57
badgrs12-Apr-07 23:57 
GeneralRe: Javascript resizing code Pin
Sam Heller13-Apr-07 1:32
Sam Heller13-Apr-07 1:32 
GeneralRe: Javascript resizing code Pin
badgrs15-Apr-07 22:32
badgrs15-Apr-07 22:32 
AnswerRe: Javascript resizing code Pin
Shog913-Apr-07 8:08
sitebuilderShog913-Apr-07 8:08 
GeneralRe: Javascript resizing code Pin
Sam Heller13-Apr-07 9:23
Sam Heller13-Apr-07 9:23 
GeneralRe: Javascript resizing code Pin
Shog913-Apr-07 10:05
sitebuilderShog913-Apr-07 10:05 
QuestionPHP - select box Pin
john3411-Apr-07 20:46
john3411-Apr-07 20:46 
AnswerRe: PHP - select box Pin
hiral_shah11-Apr-07 23:33
hiral_shah11-Apr-07 23:33 
AnswerRe: PHP - select box Pin
Bradml12-Apr-07 1:39
Bradml12-Apr-07 1:39 
QuestionHow to set browser to full screen on loading ? Pin
Anthony Yeap11-Apr-07 6:48
Anthony Yeap11-Apr-07 6:48 
AnswerRe: How to set browser to full screen on loading ? Pin
Guffa11-Apr-07 7:01
Guffa11-Apr-07 7:01 
AnswerRe: How to set browser to full screen on loading ? Pin
Bradml11-Apr-07 14:56
Bradml11-Apr-07 14:56 
GeneralRe: How to set browser to full screen on loading ? Pin
Anthony Yeap12-Apr-07 6:44
Anthony Yeap12-Apr-07 6:44 
AnswerRe: How to set browser to full screen on loading ? Pin
RichardGrimmer13-Apr-07 6:03
RichardGrimmer13-Apr-07 6:03 
AnswerRe: How to set browser to full screen on loading ? Pin
Vasudevan Deepak Kumar13-Apr-07 7:02
Vasudevan Deepak Kumar13-Apr-07 7:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.