| |
thread by: daniel |
last post Aug 24 '07 by: Randy Webb
Hello, I have limited understanding of js (css/html is more me) and
when I run into complicated problems I am left undone. The person I
normally call upon is on holiday so I was wondering if I could present
it here for an answer.
The page in question is http://www.sunraycomfort.com.au/p-inslab.html
(and will be applied to all other product...
|
thread by: metaphysics |
last post Aug 23 '07 by: metaphysics
I'm not sure if this is possible, but I thought I saw it somewhere and I'd like to know how to do it.
This is rather difficult to explain, so bare with me.
Lets say you have 3 background colors, going from lightest to darkest (so color 1 would be the lightest and color 3 would be the darkest).
I'll try to illustrate what I mean. Let's...
|
thread by: timw07 |
last post Aug 23 '07 by: Dr J R Stockton
Not sure why I am not getting the approriate number here. I'm looking
to use square foot + 10% if number of stories = 1? Any and all help
for a newb is appreciated!
<script type="text/javascript">
function Calculate()
{
var realSquareFoot = SqFt.value;
var realStories = numStories.value;
var realPitch = pitch.value;
|
thread by: laptopia |
last post Aug 23 '07 by: Thomas 'PointedEars' Lahn
Here is the scenario:
The data that needs to parsed is on an asp page secured by a login
form. I have access to the site, but I was wondering how one would go
about writing a script that would automatically access the page and
grab the HTML.
Garbing the HTML then parsing the information I understand. I just
don't know if its possible to...
|
thread by: sitara |
last post Aug 23 '07 by: pbmods
hi can any one help me
i need a javascript for random image backgrounds in run time using js in flash i`ve already tried but failed to load the path. right now i dint get my code
thanks in advance if anyone helps me
|
thread by: nagylzs |
last post Aug 23 '07 by: nagylzs
Hi All,
Can you show me an example of a working dictionary object that is
portable? I would like to have something like:
d = new PortableDict()
d.setValue('a',12)
d.setValue('b',-3)
|
thread by: sanojcp |
last post Aug 23 '07 by: pbmods
Helloo all,
i had a problem with internet explorer, i want to store some user entered values to xml document. my problem is that when the user left one field empty first time,
and tried to change the value next time i am using the following code
to chenge it
nameElement.firstChild.nodeValue=nameObj.value;
it work well when the...
|
| |
thread by: danp129 |
last post Aug 23 '07 by: danp129
For some reason on line 5 newtext is getting changed to "newt ext" when I preview this post, it is not that way in actual code!
I can't figure out why it's not replacing carraige returns with "<BR>". alert(newtext) doesn't show any replacement taking place.
<script>
function preview(newtext) {
newtext.replace(/\r|\n|\r\n/g,"<br>");...
|
thread by: tusharkanta |
last post Aug 23 '07 by: epots9
I need a dynamic login/signup form that will appear on click of login or signup. The background page should be faded while the login form appears on foreground. Please refer the example site as:
http://tupalo.com
Please click on right hand side login/signup option to understand what i meant. Please guide me how to do this at the earliest.
...
|
thread by: tequilamala |
last post Aug 23 '07 by: tequilamala
I was having problems with google, when someone would search for one of my pages the iframe pages would pop up. So I attempted to fix this problem by adding the javascript below to all of my iframes. I had to do a bunch of stuff like putting my default page in the Pages folder because i couldn't get to the root directory with the script below. ...
|
thread by: 1ontherun |
last post Aug 23 '07 by: 1ontherun
Hey all,
I am having problems creating/using a .js file.
At first, I wanted to overwrite a previous javascript used in the page that's running, but it kept creating the .js on my desktop or getting lost completely... if not erroring. So I decided to put the .js on the root directory itself, without any luck at all. When I run the .htm, it...
|
thread by: mike4722 |
last post Aug 23 '07 by: mike4722
I wish to have the form to be able to automatically select the radio button based on the logic of HTML/php variable. example show below:
javascript:
function autoForm(value)
{
var myForm = document.forms;
if (value == '1')
myForm.elements.checked = true;
|
thread by: makthar |
last post Aug 23 '07 by: makthar
Hi
My second question is the eval function of javascript works fine in IE7 but not in Mozilla. The function in my code is as follows:
var str = "alert('how r u')";
eval(str);
How do i make it work in Mozilla.
Thanks
Mansoor
|
thread by: Dukster131 |
last post Aug 23 '07 by: pbmods
I am writing a javascript function that will go to a different page when a specific menu item is chosen. the function now works with the following:
window.open("IDI.asp?rec_id=<%=request("rec_id")%>&cat_num="+strCatNum+"&catid=<%=request("catid")%>", "MyWindow");
However, I do not want to open a new window, I just want to go to that window....
|
thread by: broli85 |
last post Aug 23 '07 by: mltsy
HI ALL
I would like to know if anyone knows how to traverse the document.body (or any other method) to get the contents of the current page. It must be general enough so that I can traverse any html page using the same algorithm, because this will be included in a Firefox extension.
THANKS A LOT!
|
| |
thread by: rebeccatre |
last post Aug 23 '07 by: Randy Webb
please help me with this,
<style>
#a, option.message {background-color: green; color: white;}
#b, option.message {background-color: yellow; color: black;}
</style>
<select id="thisselect">
<option id="thisone" class="message">THANK YOU</option>
</select>
|
thread by: elephant |
last post Aug 23 '07 by: elephant
I'm not sure if I'm getting a bug, or if this is the intended way for
getComputedStyles to work, but if anyone can spot something I'm doing
wrong, or a work around, I'd appreciate it.
As an example, say I have this ->
<span style='text-decoration: underline'>
<span style='text-decoration: bold' id='thisId'>
<span style='text-decoration:...
|
thread by: Mateo |
last post Aug 23 '07 by: Mateo
Hi!
Let's say that I have generated var SomeVariable = true; from server.
On client side I have:
if (SomeVariable == true) {
do something
}
How could I first check if my variable is undefined? Or how can I say if
some exception occures please don't report error, just continiue?
|
thread by: plumba |
last post Aug 23 '07 by: plumba
Let me explain....
I have a form (most of which you guys have helped me with!!). The initial problem I was having is that it was holding the data in the fields after submit, I resolved this by putting the whole form in a set of <div> tags and the form now collapses after they click submit. Perfect!!
But, have set some mandatory fields...
|
thread by: divina11 |
last post Aug 23 '07 by: pbmods
I'm building a program where you have an input box and an button, when user presses the button, the button value is displayed on the input box. I've tried the following:
function calculation() {
value1=parseInt(document.getElementById("x").value); //input box
nine=parseInt(document.getElementById("nine").value); // button
...
|
thread by: beatTheDevil |
last post Aug 23 '07 by: hirakchatterjee
I searched, I swear. All my keywords were ignored by the search engine. Or I may just suck at searching with the right keywords, but I've been unable to find information about this. Perhaps somebody can elaborate.
I would to like to create a function, included in the header of an HTML page, which calls functions which are defined later, in...
|
thread by: Tea Maker |
last post Aug 23 '07 by: collie
Hi, how can I create a javascript popup that prompts users to press yes or no. I want something similar to Confirm(), but I want the message to say "yes/no" instead of "ok/cancel".
Also I know this is possible through vbscript, but I don't want to use vbscript since it is IE only.
Does anyone know a solution to this problem (I don't want to...
|
thread by: ASAP |
last post Aug 23 '07 by: dmjpro
there is a checkbox in every row of a table.
i need to check the checkbox on click of the corresponding row and vice -versa.
means on again clicking of the same row it should get delected.
|
| |
thread by: Diogenes |
last post Aug 23 '07 by: Diogenes
Hi all,
I had a look at sIFR.js code after parsing it and I have a question
about function syntax. For example
var f=function(){
// statements here
}();
|
thread by: liesther2003 |
last post Aug 23 '07 by: acoder
Hi
i want to show mutli layer by each click, and when i click next layer the first layer should be still display, until maybe 3rd or 4th or 5th layer all are displayed, and at the end when i click somewhere (maybe image) then close all layer.
my code are here
<script type="text/javascript">
var currlayerId = null;
function toglayer(id) ...
|