if you use CSS to set the body to a specific height in pixels. Then use an onScroll event handler that calls a function which will fetch your scroll position in pixels and compare it to the height of...
I am working on a script that does something very similar to what I think you're trying to acheive with the mouseovers. Have a look here:
http://www.xanadumarketinggroup.com/2/websites.php
Note...
Hi Guys,
I need to select an area of a HTML5 canvas Element, scale it and redraw it.
I am using getImageData() to select the area I need, and putImageData() to redraw it to the canvas. However,...
Hey savvykms,
I was trying to avoid frames altogether. And the method you suggest is essentially wot im trying to implement, just using sessionStorage rather than cookies.
Thanks for the reply ali.
If a value has not been stored, the sessionStorage variable returns null and the track plays from the beginning, which is exactly the behaviour I want.
Hi Guys,
I am trying to figure this out, hoping someone can shed some light.
I am trying to get a song to play continuously throughout a site.
I didnt want to use frames.
I decided to use...
hi everyone,
Although I have been using javascript for a while now, I am new to AJAX. It is a little over my head and i do not have time to get to grips with it at the moment. Could anybody tell me...
i tested it by opening the directory that has the session files stored in it. then i tested the sessions from another machine. isaw that a file was stored containing the session data but when i...
My sessions arent working properly. Im using windows with apache. The session information is saved to a file, but it vanishes very quickly. Iv changed some settings in php.ini but it still doesnt...
the only way i can think of to do this is have your text fields flaced inside div's. set the visibility to hidden and have a function called from your edit button that sets the visibility to visible.
yeah i usually use <script type="text/javascript"> the language was copied and pasted from the original post which i just modified. i know that document.write isnt dynamic, thats y i stated that the...
if you want to put html tags between the script tags then use:
document.write("<input type=text name='desk_total' size='4' value='0'>")
also you have no closing script tag after the last opening...
<html>
<head>
<script>
opened = 0;
function winopen(){
if (opened == 0){window.open("www.google.com",""); opened++}
else {alert("window has already been opened")}
}
Im trying to position a div in the bottom right hand corner of the browser window. i could specify the exact place by pixels but this doesn't take into account screens with different resolutions or...
did you just copy and paste this from the source code of somebody elses site? because not all of the source code is there. i assume the links will be placed in the javascript library file:...
hi,
i just had this problem myself. the solution that i found was to use the <bgsound> tag to play the tracks and use javascript functions to skip the tracks. that way you can create the next and...