Search:
Type: Posts; User: jam
Search :
Search took 0.03 seconds.
Have you tried void()ing before it? just so that the problem is less noticable? Sorry, i'm unsure of the actual problem.
Also it could be an idea to try break down the statement into a few, so...
Hey,
here:
t[i].attachEvent('onblur', new Function("DoBlur('" + t[i].id + "')"));
you pass the ID of the input field...
and here:
Hey, depending on your doctype this probably won't always work... Using:
onclick="VisaBild(\"text\");"
Should work, if it doesn't try:
onclick='VisaBild("text");'
I'm assuming that rO is something in some numeric form (Hex/Oct/Dec) the ""+ starts an empty string and appends rO... (Effectively converting rO to a string)
Basically it makes sure that the...
Okay, the only thing i can think of is using an array to store references to your DIV elements. But that's not ideal, where is it you need to change the style attributes of the div?(i'm assuming in...
Can you give us an example of the div generation? (What are you doing to generate the divs, because it could be sorted there).
Cheers,
Jamey
You need to give us the whole script or we're plucking stuff from thin air.
Meh, xampp on linux of some sort. Don't like trusting windows based junk on my server.
Hey, the reason you get the "a is undefined" error is because some of your rows do not contain links... Change it to:
window.onload = function() {
var table =...
Oh sorry, i modded the file on my own system and automatically fixed the origional style definition without telling you about it.. my final code was:
<html>
<head>
<SCRIPT...
Hey, could you post the full code to your page(it would help).
Cheers,
Jamey
p.s. i don't ask to be nosey but because i assume it has something to do with referencing the items on your page...
Problem:
Solved:
if(pictvar.left == 500)
the old assignment vs comparison
You might also want to go from:
Haha, it happens. Glad to be of help =]
Cheers,
Jamey
You have two style attributes, the second is therefore ignored by js...
<textarea id="article-text" style="margin-top:-1em; height:400px;" name="article-text" cols="70" rows="20"...
As for referencing the form:
alert(document.IndAssessment.Selection1[0].value)
As Logic Ali said you need to use the name of the form not the id...
As for checking if the form has one...
Post your code so we can see what's actually going on (full page)... Otherwise we're stabbing in the dark.
Cheers,
Jamey
Hey, give the form an id and reference it using document.getElementById(), it's an easier to work with concept... e.g:
in your script:
var myForm = document.getElementById("myForm");
your...
You could always zip it up and post it here, unless it's amazingly obsfucated then i'm sure i could help you work it out. (Feel free to PM aswell)...
Cheers,
Jamey
Flash file itself. Unless the track name is in the XML and the dynamic text box parses HTML... But again you'd need to modify the size of the text fields.
Nope, because you declare ppp as local to the function, then modify it...
simply using this:
javascript: void(ppp=8);
should work =]
Okay, something like this might work(note might, i haven't tested it yet):
<a href="#" onclick="event.cancelBubble(); window.open('<? echo $result_rlinks['link']; ?>');" class="menu">
...
Yep, through and through i will argue this point till the end of IE. But as it ships with most computers, and is used by the majority of the world we have to account for this... You don't want to...
Hey, the only way to do this is to remove the onclick handler you highlighted, because the link is within that table cell, so it will always open the link in the same window (and then it will also...