Thanks jedaisoul, it was probably due to the frequent tweaking of the data on the pages, which for me caused multiple changes to the same on-line pages in a single day.
Thanks for the reply and I totally agree that this script is a hack at best, but it is the only script that I’ve found that allows me to set a variable that lets me know if the page is being...
I’m about to add direct support for handhelds to my VariableHTML script. It’s good to know that all of the features of the script will continue to run on the handhelds.
Just getting into handheld development. I know they run JavaScript and one of the things I’ve done on my other pages if give the visitor’s the opportunity to change the size of the text. This is...
Sorry, I should have been more specific. I’m trying to write a JavaScript that will activate different CSS files based on page width and media type. So, I guess I need to know the CSS media type.
I am in the process of writing a JavaScript that will select a different CSS file from a list of alternate style sheets based on the width of the browser window, sort of like media queries, but it...
I'm trying to get a handle on how media queries are coded so they work properly when the browsers that do not support them and also on browsers that do. Let me give a small example:
My goal is to write a script that will select a single style sheet from a list of alternative style sheets based on the width of a page. I will be posting the script as freeware as...
This gets better all the time: I modified my script to indicate when each function is run. The code is at the end of this post. I added a global counter var at the beginning of the script in the...
I'm not sure I understand what you mean by "set a global"? My plan was to set the body to call the script onload, then have the script define the window.onresize the way it...
The DOM is not always fully loaded when the onload event occurs! That is why I want to change this to an onresize event. By then the page width should be in the DOM.