hey, i was wondering if anyone can tell me if it is possible to learn this language on my own, or if i should just take a class on it? if i am able to learn it on my own, can you point me in the direction of a good book/website where i can learn how to use this language?
i am a EE, and have...
did you upload the openwind.js file, and have it in the same dir as the html file? you can just try this out on ur comp by putting all these files on ur desktop, or all in the same folder anywhere, then open up the html file in browser. then you don't have to upload it every time.
aw, sh*t...
the openwind() func is about half way up the page, the working version, but that is mine, and you can't use it!!! just kidding, its the web, u can use whatever u can get ur hands on! anyway, this script is used, least on my page, to have a thumbnail that, when you click it, opens up a new...
well, in that updated code that you put in ur post, it had a call to 'openwind()' func, so you need to include that in a javascript portion of the html. that's what he meant. u cant access a function that don't exist in ur html file
http://webdeveloper.earthweb.com/repository/javascripts/2001/12/68501/index.html
this has an example, i got it from javascripts.com in the business section. hope that helped
aw man, still a problem, but getting better! now, i get the text i want in the status bar, but it like, sets the text back to '' (that's what i have 'setback()' put it as), but then sets it back to the text i send to the func in the 1st place!! ps, thanks for all your help thus far, you have...
can you expand on that, i don't know what a timer is, i don't think. i usually set my status this way, just i usually put:
onmouseover="window.status='status text'; return true;"
inside of the <a> tag in the html file. when i thought to do it in a separate javascript func, i thought i...
i must be missing something, i don't see anywhere on that page that talks about what i want! just point me in the right direction, and i'll check it out myself.
k, i tried the code that you gave, but there is a problem, at least when i am running it. it seems that it updates the status after the mouse leaves the area, which means you see no effect! i learned this by omitting the onmouseout line, and when the mouse left the link, i saw the text i...
need to give more info on source of files. if you need to go back a folder, say the html file is in c:\html\htmlfile.html and the js file is in c:\menu\menu.js, you will have to put:
<script src="../menu/menu.js"></script>
i was wondering if there is any way to assign actions to the events in a style sheet. here is the situation, i have a page of thumbnails, and when user is over pic, i want window.status to be set to 'maximize', and when user gets off of pic, want it to go back to ''. i would love to do this...
sweet, thanks a lot. just as a question, what are the document.open() and document.close() lines for? i tried without them, and it still worked, but is that bad practice, or what?
vbkris, that code you gave me gives me an error on the "lnk.onmouseover=" line, says "not implemented". am i not able to do this, or is it something i wrote wrong?
okay, one last thing: how can i use a variable as the link to the pic? i mean, i want to send to the function a string, then use that to open the pic. right now, for the func i have:
//l is for Source
//x is for horiz size
//y is for vert size
function openwind(l,x,y){
if (!x)
x = 800;
if...
well, the whole point of me doing it in a function, is so that i wouldn't have all those return statements in the quotes, so if there is another solution, that would be great
hey, i want to make a function in javascript that will update the window status in netscape. now, i want to call it like this:
onmouseover="set('New Status');"
or something like that, then another that resets it, back to '':
onmouseout="reset();"
now, i have the reset func working fine and...
hey, i am doing some thumbnail pictures, where when you click on them, they open in a new window, with correct size and all that. now, i want there to be no border on the page. do i have to make a separate html file, then have the url for that, with no border?! this is the javascript i have in...
okay, this is what i want to do. if the file doesn't exist, i want to create it and input from user. if the file already exists, i want to read from the file, that's why i had the open(name, ios::in|ios::out|ios::nocreate) then the open(name, ios::in|ios::out)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.