3,446 Topics
![]() | |
Hi There, I'm redesigning a website for a client in ekmpowershop and I've set up a small jquery script to add the class "test" to the parents of all uls that have a child containing a div with a class of .sub. This is with the purpose of adding an … | |
Hello, I build a 3 steps form with jQuery slider, step 1 is contact information, step 2 some options and at step 3 I want to create a summery of this form. To be more clear, you got at step 3 by a "next step" button and I want to … | |
How can I add a jquery code block like this [CODE]<td><tt> Name: '.$_POST['name'].' </tt></td> </tr> <tr> <td><tt> Surname: '.$_POST['surname'].' </tt></td> </tr> <tr> <td><tt> E-Mail: <a href="mailto:'.$_POST['email'].'">'.$_POST['email'].'</a> </tt></td> </tr> <tr> <td><tt> Message: <br><br> '.$_POST['message'].' </tt></td> </tr> </table> </body> </html>';[/CODE] | |
hi All I have script that dont has any forms but there used $_POST method I dont understand that function and why there used $_POST method if there is not any Form here is script [CODE]<?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?> <!DOCTYPE html … | |
Hi there all, just joined today loved this site already. My Question is that. i am trying to create 6 Menus for my Web. like Eg { home, about us, service ..... } and i want the images to change whenever the users mouse hovers the menu's. I got the … | |
Dear All, Below I have a code which when press the add button will keep adding the row. I would like to learn further about jquery. Why must we always include jquery-1.5.1.min.js is that the functionality is it? Next why must we call table.dynatable is the dynatable is the id … | |
At [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url] the app you see there works as expected in IE8 and Firefox etc. But, IE7 does not work. While the plugin I used does indeed seem to function under IE7, mine is not and I have not been able to track it down. This functionality was built from … | |
Hello, I am trying to learn how to use animation, and i have it working a little but I can't get it to move my box. I was wondering if someone might be able to let me know what I am doing wrong here. [CODE]<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> … | |
index.php file <script type="text/javascript" src="../lib/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="../lib/jquery.jcarousel.min.js"></script> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({ vertical: true, scroll: 3, visible: 12 }); }); </script> <ul id="mycarousel" class="jcarousel jcarousel-skin-tango"> <li>I love you haha.</li> <li>I love you haha.</li> <li>I love you haha.</li> </ul> --------------------------------------------------------------------------- From the above code, I use firebug to inspect the … | |
Hi, In [URL="http://www.w3schools.com/tags/att_standard_id.asp"]http://www.w3schools.com/tags/att_standard_id.asp[/URL] it is written that: [QUOTE]The id must be unique within the HTML document.[/QUOTE] What if I make them equal? I often use id for numbers of objects in database, e.g. id = 5 They are in deffierntent containers, for example [CODE] <div class = "x"> <div id … | |
This is just a dumbed down version of my web application. I successfully did an on submit earlier but deleted it somehow. So I deleted everything not essential to make sure nothing interferes. If I remove the submit part, it appends just fine. I am a noob with jquery, help … | |
Hi, There are two textboxes, one(id:sites) is to display a dropdown list when user input any letters, another(id:siteID) is to catch the value when selecting an item from dropdown list. see example at: [url]http://jqueryui.com/demos/autocomplete/[/url] Below is my code: [CODE]var siteNames =new Array("ASDA","Tesco","Boots"); var siteIDs =new Array(1,3,7); for (i=0; i<siteIDs.length;i++){ $( … | |
I have a map at the following location: [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url] and have a functioning map which uses the map hilite pluging to add hover effects to the areas of an image map that the mouse is over. I would also like to be able to add that same effect when I … | |
Hi, Using jQuery 1.4.4 with the Roundabout plugin. Something weird is going on here and I can't put my finger on it. I have a function set up that changes the text of a <span> when a new image is called into focus. It gets called in $(document).ready like so: … | |
i have such div: [CODE] <div id="file.jpg"> <img src="http://localhost/joomla15/uploads/banners/file.jpg?1300447751"> <img title="Trinti" class="deleteAd" data-filename="file.jpg" src="http://localhost/joomla15/components/com_banerioikelimas/images/delete.png"> <a class="pratestiDienai">Pratesti galiojima dienai</a><br><br> <p class="validUntil">Galioja iki:2011-04-02 20:40:09</p> <p>Paspausta:1</p><br> </div> [/CODE] now I want to change its html content with such code: [CODE] $('#file1.jpg').html('test'); [/CODE] and it doesn't change. Probably because he thinks that .jpg is … | |
Hi, I want to insert a jquery crousel in my website.The images shown will be fetched from the database.If a user clicks on the next arrow to view the image and it is not displayed for a while ,I want a loader to be shown in the meanwhile does anybody … | |
Videos inside tabs play at the same time in IE but works fine in Mozila Firefox : I'm using [URL="http://www.sohtanaka.com/web-design/simple-tabs-w-css-jquery"]Simple Tabs w/ CSS & jQuery[/URL] but I’m having issue with I.E , Chrome I’ve videos in 3 different tabs , but in I.E & Chrome all tabs starting playing when … | |
Do you know what error? how include rich text-area in jQuery and [url]http://tinymce.moxiecode.com/[/url] ? see attach... get ONLY text-area non rich text-area. [CODE]<html> <head> <script src="../jquery.min.js"></script> <script src="../tinymce/jscripts/tiny_mce/jquery.tinymce.js"></script> <script src="../tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> <script> $(document).ready(function(){ $('textarea.rte').each(function(){ TINYMCE.replace(this.name); }); }); </script> </head> <body> <form action="page2.php" method="post"> <table width="100%"> <tr> <th style="width:120px">Page Text</th> <td> <textarea … | |
Dear FRIENDS, I have some question in javascript...That is.. I was creates some html page...then I include 2 jquary function(accodion and imageTaggin)to same page...and i import two .js files like below [CODE] <!--for accodion--> <script src="js/jquery.tools.min.js"></script> <script src="js/jquery-ui.min.js"></script> <script src="js/jquery.min.js"></script> <!--for taggin--> script type='text/javascript' src='js/jquery.min.js'></script> <script type='text/javascript' src='js/jquery-ui.min.js'></script> <script type='text/javascript' … | |
This page is very heavy. I see that the jQuery library accounts 164K which is almost 40% of the page weight. As can be seen in the source, /jquery.js loads twice, as do several other scripts! But if i remove /jquery.js library from either line, the page breaks (tabbed box … | |
I want to create one menu with anchor tag for e.g=> <a href="http://www.example.com/example.php" rel="facebox">Example</a> I want to write javascript function for that like $menu = array(); $menu['page name without extension'] = 'Page Title To be showed on page'; function MenuGen() { } In addition I want to add FACEBOX from … | |
I want to create one menu with anchor tag for e.g=> <a href="http://www.example.com/example.php" rel="facebox">Example</a> I want to write javascript function for that like $menu = array(); $menu['page name without extension'] = 'Page Title To be showed on page'; function MenuGen() { } In addition I want to add FACEBOX from … | |
I am unsure what is going on with my website? I had flash on it, and I have removed the flash and installed javascript. Everything is installed correctly from what I can see, when I go to the view page button on Dreamweaver the images rotate. When I upload it … | |
below is the code i found from some nice tutorial it works great but the function post to wall promt user to either publish or skip, on some other php file this trigers it i think <a href="#" onclick="publishStream(); return false;">Click Here To Show A DEMO Stream Publish Box</a> and … | |
On this page: [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url], when you click on, for instance, Ethiopia, you get a map and then when you click on the "flag" you get a popup with some tabbed info. At the bottom of this popup is a close link. It is there the first time you click on … | |
if i have [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>[/CODE] [CODE] <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"></script>[/CODE] both of these in my header my jquery menu does not work. i have searched google and it keeps telling me about this [CODE] <script> jQuery.noConflict(); // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); // Use Prototype with $(...), … | |
Hi, has anyone tried it? [URL="http://www.scriptbolt.com/script/mbanner"]http://www.scriptbolt.com/script/mbanner[/URL] it is a banner rotator for image and flash files. Just one thing I want from it - for a flash embeding code add more parameters, actually this: [CODE]<param name="wmode" value="transparent" />[/CODE] Because I need to count clicks of the flash banner. I read … | |
Dear All, I'm going to put some submenus into tabs and put its contents there. i want to fetch the name of the tab (menu) from the database. for this case, i must use looping 'while'. for example [CODE]<body> <?php $query=mysql_query("SELECT * FROM modul WHERE ket='submenu_mahasiswa'"); $result=mysql_fetch_array($query); ?> <div id="tabs"> … | |
In the following code, the click event is added explicitly to the body, so that even if click outside the button say on the body the div with ID tip1 should close with a fade effect. The problem here is that the the div closes even if we click on … | |
Hello everybody :) for the past 3/4 months i have been learning nonstop in various subjects ranging from html css javascript ( also jquery framwork ) and php i have also been able to put up a static website ( using only htm and css ) after learning more about … | |
Hi. I have a div which contains dynamic content populated with AJAX (user has two select boxes to filter query results) However when filtered results extend past the initial height of the div in question, the div remains the same size and the results overflow out of my content area. … ![]() | |
Hello Everyone, I used to have a post function that works but it suddenly says: aborted when I run firebug on it and I dont know how I can fix it. I am using servlets in a netbeans IDE and would like to know how to fix it. Once it … | |
Hi friends, I want to change content of one of div using jquery and animate the div height and width according to new height and width. I want to change about 12 contents. Everything working fine with my code except height issue. My question is how to calculate newly loaded … | |
Hi Guys, I am trying to implement the masonry plugin on my blog [url]www.Iamvishal.com[/url] but I can't seem to get it working. Below is my code. Any clues as to what I am doing wrong ? [CODE] $(window).load(function () { $('#content').masonry({columnWidth: 185}); }); [/CODE] Cheers, vishal | |
Hi there Im doing my web site and i have came across a little bit of coding i wish to change - i thought it could be changed in CSS but i don't think it can. Basically im using a "title="Image 3" tag to use as a brief description of … | |
Hello all, i posted this a while ago and the thread closed, this was my original question: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ rangeSelect: true, monthsToShow: 3, minDate: '+7d', rangeSeparator: '|', altField: '#resdate', altFormat: 'dd-mm-yyyy', pickerClass: 'locgrid', onDate: nationalDays } ); }); var natDays = [[12, 18, 2010], [12, 19, 2010]]; … | |
[CODE]<?php echo '<!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"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />';?> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="js/jquery.jMagnify.js" ></script> <script type="text/javascript"> $(document).ready(function(){ $(".menu2 a").append("<em></em>"); $(".menu2 a").hover(function() { $(this).find("em").animate({opacity: "show", top: "-75"}, "slow"); var hoverText … | |
Hi, I have such js code: [CODE]$(document).ready(function(){ $('#a').click(function() { alert('Handler for .click() called.'); }); });[/CODE] And I have a link in my page [CODE]<a id = "a" href="url">Link text</a>[/CODE] I checked the view source of web page, scripts are loaded, my js file is called bannerUpload: [CODE]<script type="text/javascript" src="/joomla15/media/system/js/mootools.js"></script> <script … | |
hi can somebody help me out i have form that the user need to fill and at the end of the form the use have to make a payment via alert pay which they will be taken to the page buy clicking on the alert pay button but haw can … | |
Hello, I am trying to track down an issue with some content in a couple of popups generated with j-query. If you go to [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url] and role over and click on ethiopia on the African continent, you will get a map that pops up. On the map you will see … | |
Hello all, I am using the zoommap plugin to develop an interactive type map. I am also using the maphilight plugin to create imagemap rollovers/popups. So the functionality is: a world map; rollover a country, it hilites, shows the name of the country. When you click on the country, a … | |
Hi all, I've been struggling with different ways to solve a problem for about a week, and as my attempts have so far been fruitless, I figured I would turn to DaniWeb for some help. I have an unordered list <ul class="navigation"> where each list item contains some links. Example: … | |
Hi frens, i have a requirement, where on selecting a option from dropdown, next 2-3 text field should get populated with data from db(without refresh), i managed to get this this thing to work using ajax/jquery, but i am not able to display the data in their respective fields, its … | |
Hi everyone; I'm pretty new to VB.NET and I'd like your help in validating the CheckBoxList because I have two of them and then how to read them with an attachment file. Appreciate the help: here is the code[CODE]<%@ Page Language="VB" AutoEventWireup="true" CodeFile="test.aspx.vb" Inherits="test" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
hello, iam very new in jQuery. Need help asap please. on my asp.net page I want to use two jQuery functions. 1. Clears textBox when user clicks on it. 2. Clears all inputs when user clicks on btnCancel button. I made two functions [CODE] //clears value from onclicked input $(document).ready(function … | |
Hi all :) I want to make the toggle button so that it will [B]display the specific hidden container[/B].. for the example let say that i got all of these list of containers : [CODE] <div class="post_header"> <div class="post_toggle">Show Post</div> </div> <div class="post_container"> <div>post content 1 goes here..</div> </div> <div … | |
Hello, I have these div tags, they're very similar but I just need to change the IDs. Is there anyway to condense this code? [CODE] $(document).ready(function(){ //Full Name var changeName = $('#changeName'); var cancelName = $('#cancelName'); var fullnameDisplay = $('#fullnameDisplay'); var fullnameChange = $('#fullnameChange'); var helperName = $('#helperName') changeName.click(function(){ $(this).hide(); … | |
I made a simple slide show using jquery and "setInterval() " function. Everything working fine but I just need to start this serInterval function only after the div or page loads completely. I will post my code here ... [ICODE] 1. $(document).ready(function () { 2. var s=setInterval('slide()',3000); 3. }); 4. … | |
Hi all, I am at a stand still with trying to figure this out. I have a textarea, i would like to check for links entered by users and replace/remove the anchor attribute from the string. ie. change [ICODE]<a href='google.com'>website</a>[/ICODE] to [ICODE]website[/ICODE] its more so to validate ( i have … | |
Hello @all , for several days i try to create a nested-ist generated by jquerymobile from websql querys. I can only master the code to show all parents and children in 1 single list. However of course, i want to have each child to its parent. I would appreciate any … |
The End.