15,120 Topics

Member Avatar for
Member Avatar for MDanz

i pass this to a div innerhtml from javascript. when i do it like this it doesn't work. it should display an image hyperlink [code]var newtext4=("<a href=" + number + "><img src=" + newtext2 + " /></a>");[/code] if i do just text, it displays a hyperlink. [code]var newtext4=("<a href=" + …

Member Avatar for fxm
0
132
Member Avatar for andrewb

Hi Iam very begginer I want to use the script named lavaLamp from here [url]http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/?cp=all[/url] ) but I donn't know how I can use it I try to change the <li class="current">[B]<a href="#">Home[/B]</a></li> tag to the <li class="current">[B]<a href="http://google.com">Home</[/B]a></li> but it doesnt work please help me [CODE] <h3>With Image</h3> <ul …

Member Avatar for andrewb
0
84
Member Avatar for jmaddy10

Hello all! So I am creating a redirect page so that when someone signs up for our newsletter they're taken to this page and 10 seconds later, redirected to another page. The script I'm using isn't working for some reason. I originally had it in a seperate .js file but …

Member Avatar for fxm
0
4K
Member Avatar for miweiser

Can someone please advise what I may be missing? How can I not only make it better, but this does not seem to be working, although 1 domain instance has worked for some time, I tried adding to it: [CODE] if(document.form1.email.value.length > 0) { var theEmail = document.form1.email; var at …

Member Avatar for fxm
0
281
Member Avatar for tejasluvs

I am using this tip given to [URL="http://designerfoo.com/jquery-thickbox-hack-to-refresh-parent-window-on-tb_close-event.html"]refresh the parent window on close[/URL] for thickbox. But in addition, I would like to display the loader image after closing & while refreshing. Any suggestion? Thanks.

Member Avatar for tejasluvs
0
124
Member Avatar for Felipo

Hello Everybody - I have a question that I need answered - Is there a way to implement either a vertical drop down menu or a horizontal drop down menu on a "hot spot" on an image map where as when the mouse rolls over the "hot spot" the "hot …

Member Avatar for Felipo
0
370
Member Avatar for Venom Rush

Hi there I have a page that has php code at the top. Ajax before the body tag and a form. I need to be able to call a php function (the one at the top of my page) that adds info from the form into the DB. Normally I'd …

Member Avatar for fxm
0
145
Member Avatar for lf.gene

[CODE]<link rel="STYLESHEET" type="text/css" href="styles/calendar.css"> <script language="JavaScript" src="javascript/simplecalendar.js" type="text/javascript"></script> <script type = 'text/javascript'> function insCell() { var x=document.getElementById('tr1').insertCell(1); var y=document.getElementById('tr2').insertCell(1); x.innerHTML= 'Day 1'; y.innerHTML='<input type = "text" name = "day"><img src="images/calendar.gif" name="imgCalendar" width="34" height="21" border="0" alt="">[COLOR="Red"]<a href="javascript: void(0);" onmouseover="if (timeoutId) clearTimeout(timeoutId);window.status='Show Calendar';return true;" onmouseout="if (timeoutDelay) calendarTimeout();window.status='';" onclick="g_Calendar.show(event,'frm.day',true,'yyyy-mm-dd'); return false;">[/COLOR]</a> '; } …

Member Avatar for fxm
0
212
Member Avatar for mr_scooby

I have this php based website, that displays a photo and draws data from a db to display on the page. Currently has a link to a live camera(viewed by internet browser) that opens in a separate page. I have heard/read that using jquery you can create a iframe within …

Member Avatar for mr_scooby
0
75
Member Avatar for mjhaston

Using this code I disable my submit button on the initial load. I'd like to enable it when the form is valid. I have Prototype.js on my system. I send back a chunck of html to update my target. Is it possible to send back an id so that I …

Member Avatar for Member 785373
0
1K
Member Avatar for drewpark88

Hey Everyone, First off thank you for taking the time to help out. Here's my issue, I am using javascript to use a fade effect on my css sprite menu. I am also using the Jquery Tab function to bring up my content. So basically this is how it works. …

0
307
Member Avatar for patrickm129

Hello, I am trying to make a link to a certain area of the image (for a site map, using the mpa feature), How would I place this code in? [code] <img src="http://www.mysite.com/images/header03.jpg" width="770" height="230" border="0" usemap="#Map" /> <map name="Map" id="Map"><area shape="rect" coords="291,195,366,227" href="http://mysite.index.html" /> <area shape="rect" coords="372,194,447,227" href="http://www.mysite.com/page1.html" /> …

Member Avatar for fxm
-1
59
Member Avatar for Znos

I have this structure: includes/top.php : This contains <head> tags, jQUery library & functions : <script type="text/javascript"> function makeslider() { $('#coin-slider').coinslider({ width: 605,height: 450, navigation: true, delay: 5000 }); } </script> page.php : here have the #coin-slider div, but when I call the makeslider() function it doesn't turn my div …

Member Avatar for fxm
0
72
Member Avatar for hno

HI every one I want to make a menu like this web site :[url]http://www.petrobras.com.br/pt/[/url] When your move the cursor on it , a new windows open and there is a picture in left side and submenues in right side I myself think it is a jquery tool but I don't …

Member Avatar for fxm
0
98
Member Avatar for lf.gene

Hi all, I'm down with a question. How do i add in a javascript function into another function? For eg. I have a button that enable me to create a new table on the page. when the table is created, there is input of text with calendar function. Is it …

Member Avatar for lf.gene
0
179
Member Avatar for chaitanya15385

I had written javascript calculation for hotel accommodation system. The calculation part is working in Mozila fire fox, but it is not working in IE6. I checked the internet options in IE6 and enabled active scripting, still it is not working.Is there any other option. Please give me the solution …

Member Avatar for almostbob
0
160
Member Avatar for renoua

Hi, How can I add via javascript an Event Attribute like onkeyup="xyz(this.value)" in a text input ? function x() { if (condition) { document.definesearch.textsearch. ???? ; } } definesearch is the name of the form. textsearch is the name of the text input. I tried this : document.definesearch.textsearch.onkeyup="xyz(this.value)"; but it …

Member Avatar for fxm
0
93
Member Avatar for theheretic1984
Member Avatar for fxm
0
71
Member Avatar for ptemedia

Hi, first of all sorry if this has come up before, but I couldn't find it anywhere. I have a working php form which submits data on submit. I need to verify the input fields to ensure they are not empty. I know i need a javascript function to run …

Member Avatar for ptemedia
0
235
Member Avatar for elearnindia

I am trying to create website with [B]PHP,MySQL,Ajax[/B].In my form,the [B]values [/B]of [B]sub-category[/B] [B]select box[/B] are populated according to the [B]value[/B] in the [B]category [/B][B]select box [/B] by calling [B]ajax [/B]function [B]showsubCategory(str)[/B],[B]below [/B]I am showing some of the code: [B]Ajax code[/B]: [CODE]<script type="text/javascript"> var xmlHttp function showsubCategory(str) { xmlHttp=GetXmlHttpObject() if …

Member Avatar for elearnindia
0
124
Member Avatar for renoua

Hello, I have the part of code presented below. It has 2 radiobuttons and 2 text inputs. When user selects the first radiobutton(value="searchw"), I would like to make textsearch1 enabled and textsearch2 disabled. And the opposite process.. when user selects the second radiobutton(value="searcht") I would like to make textsearch2 enabled …

Member Avatar for rajarajan2017
0
93
Member Avatar for shadiadiph

Trying to get my one of my divs when clicked to call a function but it doesn't seem to be working??? I just noticed that only one solid pixel in the div border which i will eventually set to 0px calls the function but I want it so the whole …

Member Avatar for shadiadiph
0
89
Member Avatar for cretu.stefan

Hi, I'm new to using Ajax so bare with me if i say anyting silly. :) I'm trying to insert comments into a mysql DB and immediately (no page refresh) show it on the same page as the comments form I use to insert the comment, somewhere in another div, …

0
37
Member Avatar for MDanz

i want onchange of an option in the dropdown list to change the value of the textarea. I tried but it's not working. [code] <script type='text/javascript'> function ChgBox(number) { var thecontent = document.getElementById(number).innerHTML; document.getElementById(content).value = thecontent; } </script> [/code] [code] echo "<div style='display:none;' id='2'>Type Image Url</div>"; $thenum ="2"; <select> <option …

Member Avatar for Graphix
0
107
Member Avatar for mangel.murti

hi all, if i have to print some text over a image in particular location of image can i do it with javascript actually i have a check(image) but i want to print name , amount over that image but i want it be in write place of check image …

Member Avatar for mangel.murti
0
2K
Member Avatar for shadiadiph

I thought this would be simple I am trying tochange the opacity using style. but keeps throwing an error [code] document.getElementById('overlay').style.background='#000'; document.getElementById('overlay').style.opacity='40'; document.getElementById('overlay').style.filter='alpha(opacity=40)'; [/code] keeps thowing the error in parsing value for 'filter' declaration dropped in my css i have [code] #overlay{ width: 100%; height: 100%; background: transparent; /* for …

Member Avatar for shadiadiph
0
117
Member Avatar for shadiadiph

Sorry another silly issue with javascript but I am getting there. Can someone please explain how I should write this thankd. I tried stoping and restarting the string 'hello' +var 'more text'; maybe I am just too tired. The variables are already defined. [code] document.getElementById('welcomeone').innerHTML='+firstnameval you have successfully created your …

Member Avatar for shadiadiph
0
110
Member Avatar for SONAVENKAT

I need to GetThe Dynamic Values of Row1 Row2 Row3 Etc. My Code enter code here <script type="text/javascript"> $("document").ready(function(){ $(".addComment").btnAddRow({rowNumColumn:"rowNumber"}); $(".delRow").btnDelRow(); }); </script> <table border="1" class="autoTable"> <tr><td>Your Name</td> <td>Your Age</td><td> </td> </tr> <tr><td> <input type="text" id="wonder" size="25"/> </td> <td><input type="text" id="good" size="25"/> </td> <td><input type="button" value="Delete" class="delRow"/> </td> </tr> <tr> …

Member Avatar for jt86442
0
151
Member Avatar for Ruko

Hello, im making a fact system, and I need a refresh script, For example when someone clicks on the "next fact" button, the "div" part (where the fact is displayed) refreshes. ONLY the div part. and the javascript below is externally loaded... [CODE]/ ============================================== // Copyright 2004 by CodeLifter.com // …

Member Avatar for fxm
0
169
Member Avatar for hongchai

hi everybody, i encounter a problem regarding PHP when i am doing my internship. i have a javascript which looks like this. <Script Language = "JavaScript"> function sent() { var text1, fTxt,dT; text1 = document.form1.EPTextField.value; dT = new Date(); fTxt =("You entered" + ": " + text1 + " " …

Member Avatar for umandajayo
0
228

The End.