15,113 Topics

Member Avatar for
Member Avatar for asull100

I'm creating a website and I want to have a popup menu with additional links come up when a text image is moused over. I'm alright with HTML, but I know that this can't be done in HTML and I assume it's Javascript that I would need to use. Can …

Member Avatar for kallaya10
0
2K
Member Avatar for vizz

I'm using [ScrollTo](https://github.com/balupton/jquery-scrollto). It is not scrolling to div having margin, **margin-left: -1160px;** or **margin-top: -600px;** I have following div <div id="home" class="content"> <h1>I'ts home</h1> </div> <div id="about" class="content" style="margin-left:-1160px;"> <h1>I'ts about</h1> </div> <div id="contact" class="content" style="margin-left:600px;"> <h1>I'ts Contact</h1> </div> <div id="services" class="content" style="margin-top:-600px;"> <h1>I'ts Contact</h1> </div> I want to …

Member Avatar for LastMitch
0
185
Member Avatar for yous

Hi Guys I need to retrieve a value from the javascript below in my html code and inject this value into a webbrowser. how can I format and invoke this script ? $(function(){jQuery.liveviewWithTable({enableCountsTable:false,enableCountTable:true,countTableElement:$("#count"),directionIn:$.getParam("Counter.DirectionIn"),liveSumUrl:"/local/people-counter/.api?live-sum.json",loadingAnimationUrl:"/people-counter/images/ajax-loader.gif",dataTypes:["in","out"]})}); Thanks a lot

Member Avatar for yous
0
156
Member Avatar for Violet_82

Hi I am trying to give some sense to this expression #container, #footer { width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto"); } found on here http://www.cameronmoll.com/archives/000892.html but I can't quite get it. Is it saying if the width of the page is less than 745 …

Member Avatar for Violet_82
0
110
Member Avatar for voiceofaziz94

i want to add search box to my calender where many event goes. public can search here with 3 keywords. please help me.

Member Avatar for JorgeM
0
35
Member Avatar for Venter
Member Avatar for jayreis

I have a form with a text input where I am trying to use 2 jquery functions together. However only one of them seems to work. So I am hoping their might be a jquery guru out there that can help What I have is a text input box called …

Member Avatar for jayreis
0
174
Member Avatar for NardCake

Hello! I'm creating a small little applications (command line type thing, got some ideas) and I was wondering how exactly I would portray loading of the sorts, I know the classic animation: -- \ | / -- I just wanted to know how to animate that in Javascript. Just change …

Member Avatar for NardCake
0
147
Member Avatar for jonsan32

I'd like to create something like this: http://www.million-monkeys.com/tvcyo/ I'd love to use Google docs, but I wouldn't mind plugging it all in by hand. I've done so before when I used this site: http://jquery-datatables-column-filter.googlecode.com/svn/trunk/index.html to create a searchable database. I'm just wondering, however, how would I go about doing that …

Member Avatar for AleMonteiro
0
218
Member Avatar for jonsan32

My slider works well enough in all browsers except for IE, where the overflow isn't hidden at all. I've tried adding position absolute to some parts and I've tried adding position relative to others, but nothing has worked. Any answer to this would be great. Thanks. <script type="text/javascript" src="http://dl.dropbox.com/u/5739741/OMAR/code/jquery.js"></script> <script …

Member Avatar for jonsan32
0
283
Member Avatar for eburlea

Hi all. I have 2 pages: 1. that provides data from mysql in json encoding if a correct "key" is provided, in my case the "key" sent by method post should be "1". Link: http://semaffiliate.local/public/api/getemployees Code in Zend: public function getemployeesAction() { $key = $this->getRequest()->getPost('key'); if (isset($key)) { if ($key …

Member Avatar for eburlea
0
347
Member Avatar for OsaMasw

Hi there fellow daniweb programmers I have problem in running function in javascript <script type="text/JavaScript"> function toggle() { var e = document.getElementById('target_<? echo $id; ?>'); e.style.display = 'none'; } </script> I have button that generated in php code so its repeating itself <li><a id="target_<? echo $id; ?>" href="like.php" onclick="toggle()"><img src …

Member Avatar for OsaMasw
0
3K
Member Avatar for andyhunter

how do you manually add it when the link is www.somesite.com which i would want it to be added to index.html ? function setActive() { /*current page function*/ $('#menu a').each(function(index) { if(this.href.trim() == window.location) $(this).addClass("current"); }); this works for any pages that are in the navigation menu.

Member Avatar for stbuchok
0
91
Member Avatar for mousa.khaleel13

Anyone can please help in this. I need to assign a path for a text file in a variable to be shown later on in html here's my code: <html> <head> </head> <body> <!-- Header --> <header> </header> <!-- End Header --> <!-- Main --> <section id="main"> <script type="text/javascript"> var …

Member Avatar for AleMonteiro
0
4K
Member Avatar for gon1387

Hi Everyone, I've been looking for good javascript projects to join. Are there any projects you can advice? I've researched a lot. (with the help of Google. :D) But would also love to get advices from people who have/had worked at an opensource project here. I would also love to …

Member Avatar for gon1387
0
273
Member Avatar for axymak

Friends I want to show results on my website from the other website. It uses the URLS to shows the result as for Roll number 123123 the results page is www.remotesite.com/B/Res/123123.html like wise for the number 124124 the results page is www.remotesite.com/B/Res/123124.html I want to add such a javascript in …

Member Avatar for pritaeas
0
203
Member Avatar for 4Dante

Hi, I've looked online for a few days but haven't been able to find an adequate solution. I'm just trying to use javascript to validate that a password doesn't contain user data (first name, last name, etc...) I really thought it would be simple. Here is what I'm using: function …

Member Avatar for 4Dante
0
203
Member Avatar for ThePythonNoob

Hi, I am trying to make a click counter. The prolem is the onClick part in button code. If i made it so it was "click();" and placed the var clicks into the function click then it would kind of work. But when I pass a variable into it.. it …

Member Avatar for ThePythonNoob
0
148
Member Avatar for piso_mojado

running into an issue haven't seen this before where content during the encoding and decoding of an image looses byte count. I have an app taking the photo image and sending the file via: ----------------------- byte[] imageBytes = new byte[(int) imageFile.length()]; inputFile = new RandomAccessFile(imageFile, "r"); inputFile.read(imageBytes); String base64String = …

0
179
Member Avatar for RenanLazarotto

Hello guys! I'm trying to change an element background color when my mouse goes over another element. As far as I know CSS, this seems to be impossible to do only with CSS, so what kind of js I need to do this? My knowledge in JavaScript it too limited …

Member Avatar for RenanLazarotto
0
2K
Member Avatar for abby.delacruz.927

Guys help me with this code. I don't know what to do. I have 2 div the 1st is in the left and it has a button and on the other div is to show/display when I click the button on the 1st div. <html>// this is my index.html <head><title> …

Member Avatar for JorgeM
0
311
Member Avatar for rotten69

Hi there, I'm reading a book on Javascript and trying to understand a few concepts that are about hasOwnProperty(), propertyIsEnumerable() and isPrototypeOf(). I don't understand when and how these methods are used. That would so appreciated if someone can explain them to me in a nutshell. This example is from …

Member Avatar for rotten69
0
173
Member Avatar for ThePythonNoob

Hi, I just started javascript. I want to put a radio button into an array I have done this so far: var blocks = new Array("<input type="radio" name="" value="1">","2","3","4","5","6","7","8","9"); however this isn't working. I suspect that I need to change the 'mode' to html somehow? <html> <head></head> <script type="text/javascript"> // …

Member Avatar for AleMonteiro
0
220
Member Avatar for vizz

How to fix position of first div at **center** and add more div **around first div** as per requirement, to, **left, right, top and bottom** and scroll to that div using fix navigation at top of page

Member Avatar for vizz
0
73
Member Avatar for arcticM

I'm trying to use remote data source autocomplete, I have a code that works. I'm returning an id column from a db table. what I'm trying to do is to have the autocomplete display 2 values from the table row, for example id1 - this is id 1 id2 - …

Member Avatar for arcticM
0
201
Member Avatar for Octet

Helo Daniweb, I am in the process of building a WYSIWYG text editor, in an attempt to understand how they work. I am a novice at JavaScript, however what I have learnt so far seems to make sense. The problem comes when I try and change the text rapidly, if …

Member Avatar for Octet
0
473
Member Avatar for Zaina jee

I want to display divisors of a number in a text box using loop. But their is some error in my program.I need help to correct it. `<html> <head> <script> function CheckDivisors() { number=parseInt(document.divfrm.num.value); d=1,sp="\t"; do { if(number%d==0) { document.divfrm.div.value=d; document.divfrm.div.value=sp; } d++; } while(d<=number/2); } </script> </head> <body> <form …

Member Avatar for Zaina jee
0
169
Member Avatar for unau2k

I want to change an image in another place on my site when I click on the page title. I have tried doing different codes five ways to Sunday and cannot figure it out. Can someone help? Here's my code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta …

Member Avatar for AleMonteiro
0
362
Member Avatar for opawix

how can i integrate the codes to make it loop infinte sir/ma'am? i'am a total newbiew, thanks in advance. :D <script langauage="javascript"> col=255; function fade () { document.getElementById("fade").style.color="rgb("+ col + "," + col + "," + col + ")"; col-=5; if(col>0) setTimeout('fade()',25);} </script>

Member Avatar for JorgeM
0
119
Member Avatar for moone009

I found this example online and cannot figure out why it will not work. I was wondering if anyone could help me figure out why this code does not work ive spend a few hours tinkering with it and no luck. I learn best by example and just basically need …

0
122

The End.