15,688 Topics
![]() | |
Hi in my script there is a jquery tab. The script is working, tab-content is changing but when clicked a tab I want to change class property of the li of active tab as class="current" How can I do it? thanks. <ul class="nav-content"> <li class="current first-li"><a href="#tabs-1">tab 1</a></li> <li><a href="#tabs-2">tab … ![]() | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var colCount =table.rows[0].cells.length; for(var i=0; i<colCount; i++) { var newcell = row.insertCell(i); newcell.innerHTML = table.rows[0].cells.innerHTML … ![]() | |
Dear Friends, I'm developing a website that can show online users, When ever a user logged we can update the status to "Online" On our database. Now i'm using AJAX. Is it possible to show the online users without refreshing a page ? That means timed interval for a ajax … | |
Dear Friends, [CODE]<a href="javascript:void(0)" onclick="javascript:chatWith('babydoe')">Chat With Baby Doe</a>[/CODE] Please convert this into regular php expression please. Thanks in advance | |
how do i call a vb function on a jquery event? | |
First of all, I don't know if I should put this thread on HTML/CSS or here since this thread is kinda about both of them, so I'll try it here. Hi! I've need some help/advices for my problem; I'm doing a project at school, were we're going to develope a … | |
Can anyone help me to create animated Neon Sign Board using jQuery ? I want to create it only with text without using images. Is it possible to create using text shadow? Please help me Thanks | |
So Umm.. I'm working on right now to make a website for our game clan in Special Force... Then want a part of their website to be viewed directly on my website.. The link to what i'm talking about is bit.ly/vUNUCi .. maybe I can get that html codes then … | |
Our teacher wants to see if we can program a javascript talking about the way they kinda made movie lies in the movie the italian job they end up breaking in the bank vault stealing 274 gold bars which weighed 7520 pounds of gold the mini coopers had to each … ![]() | |
I have a sample page with three tabs (tabs.html). Tabs are displayed as follows: [CODE]<ul class="tabs"> <li><a href="javascript:tabSwitch('tab_1', 'content_1');" id="tab_1" class="active">Tab 1</a></li> <li><a href="javascript:tabSwitch('tab_2', 'content_2');" id="tab_2">Tab 2</a></li> <li><a href="javascript:tabSwitch('tab_3', 'content_3');" id="tab_3">Tab 3</a></li> </ul>[/CODE] The JavaScript used to switch tabs is: [CODE]function tabSwitch(active, number, tab_prefix, content_prefix) { for (var i = … ![]() | |
I have an array in javascript which has n elements. The number n is not known. How to delete all the elements from the array? ![]() | |
Hi, I have a form for registration and i would like to make Phone Number and other textboxes numeric and don't accept letters, i mean, if you write a letter 'p', for exemple it doesn'te write. Can someone help me? Thank You, PF2G ![]() | |
Hi. In my web site I have a jquery tab. When clicked a tab I want to show a div which writes loading [ <div class="loading"><p>Loading...</p></div> ] and hide it when the clicked tab content is shown. Is there a way to do this? Thanks. My code is below. <script> … ![]() | |
Hello I am having issues with a script.. I am trying to have an array carry a bunch of vimeo codes. What I want to do is make it so that when someone clicks a button created by the array they are able to see a vimeo script open in … | |
Hi, I want to append the content of an already defined "old div" tag to the "new div" tag dynamically but as I'm new to javascript i don't have any idea that how to do this. The code i tried is attached below. And one more question, how to remove … | |
Ok, so I am working a project where one of the last parts is to have a hidden field in the form to pass the product id with everything else in the url parameters. As of right now I have it setup to grab product info for an external file … | |
Hi Everyone, I already google this but wasn't able find any thing!.I just wonder if you can tell me where I can find a Jquery plugin which let the users to print a specific part of apage(let say a div for marks result!) as a pdf file? Thanks, | |
Hi friends i am having n number check box, if i checked one check box it has to select all the similar values of the check box and the other check box should be disable. can any one help me to solve the issue i am having a java script … | |
This is where my script is. Is better to see it in person [url]http://users.cjb.net/denks/main.html[/url] Why does it work on firefox and not IE? The green "wrapper" box is extended beyond what i set it to. Why did IE do this and what are the possiple areas i need to look … | |
![]() | I don't know how to do this for Javascript, but I can explain in PHP as I have further experience in it. maybe someone can translate. A textbox's value is "username", and it needs a onclick javascript code that makes it 'this.value = ""' When users click the textbox that … ![]() |
I'm trying to use the Fb PHP SDK to execute different Js document.getElementById innerHTML functions, depending on whether the user is logged in to Fb or not. For some reason the function won't work for me. I know my API connection is successful, and Javascript can be inserted here, as … ![]() | |
Hey Guys my goal for this multi dimensional array is to document the answers (right or wrong) for a test that the user is taking. In the beginning the test array is set up. as the user goes throught the questions the app should add to the array. Note: the … | |
Dear Friends, I'm developing a website that can show online users, When ever a user logged we can update the status to "Online" On our database. Now i'm using AJAX. Is it possible to show the online users without refreshing a page ? That means timed interval for a ajax … | |
Hi all- I'd like to change the buttons below used to change images to links/images instead. Any help would be appreciated! Thanks. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style> </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type='text/javascript'> onload = function() { var buttonData = [ {src:'fareast.gif', href:'http://google.com'}, … | |
I have a simple question and I cannot find any definitive answers online or in any books that I have. So here is the question: Does JavaScipt methods work with any web page elements? I do have some guesses but I don't have anything to back it up, or confirm. … | |
Hi. I have a jquery tab in my site. I want to set class="current" when clicked a tab. How can I do that? Thanks. <script> $(function() { $("#tabs").tabs( { } ); }); </script> <div id="tabs"> <ul class="nav-content" > <li class="current first-li"><a href="#tabs-1">Tab 1</a></li> <li><a href="#tabs-2">Tab 2</a></li> <li><a href="#tabs-3">Tab 3</a></li> </ul> … | |
Im new to javascript so im sure there is a lot i am missing in its understanding. What i am trying to do it create a layer of images so that it looks like a pile of cards. have seen similar codes and have tried to follow their idea but … | |
dear all net visitors how can i create a frame in web page using html | |
hi all, I have script that sums all textboxes value from dynamically added row, but still i have problem with the script. below listed two version of script [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title></title> <script type="text/javascript"> /*<![CDATA[*/ function addRow() { // grab … | |
Hi all, I have taken slide show script from net. But There some functions i cannot understand here is script [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" > <html lang="en"> <head> <title></title> <script> var interval = 1500; var random_display = 0; var imageDir = "my_images/"; var imageNum = 0; imageArray … |
The End.