Basically this gives me a table with all the start and finish times for each day from Monday to Sunday. What I'm looking at is the ability to hide particular day using java if possible. I know you can use div's to do this and I've searched the forum for solution but it looks like my case is unusual. I want to use show/hide buttons to display certain day and hide rest of them. Is it possible to put the new code around the existing one?
Why this website works in IE7 and in IE6 on most PC's but on 1 or 2 PC's that have IE7 and IE6 it is not working? [URL]. The issue is that in some IE7's that when the user mouses over the accordion it is not opening. In most IE7's it does. On my client's home PC it is not. On his work PC it is working. I have gone through IE7 settings (tools> internet options> advanced) and made them identical to IE7's that work and it is still not doing what we want it to do.
My website was recently ftp hacked and a file inserted into it - js.php - which seems to be some sort of advertising spam programme. Having spotted the file I have renamed it to hide it but lots of other sites are still referring into my site looking for this php file. What I would like to do is to *just* open a java alert box on the referring sites to alert the users that the site has been hacked and that they should notify the webmaster so that he can fix his site.The line referring into my site is -
We've developed a web application with static & iframes, each time we interact with the links in the static frame gives results in the iframe. it has a custom back button in the static menu frame. this back button working fine in IE7 IE8 but not properly working in IE9 it goes 3 sometimes 4 pages back.
we are using history.go(-1) is there any other way to make it work in IE9, even pressing the Backspace key wont work. we've tried many ways but no use.
How can I use Javascript to access an external website (a href...) and capture the contents of a particular HTML tag. I thought ".innnerHTML" might do it but I've tried several configurations and can't seem to figure out how. I'm not even sure that it's possible.
I am trying to introduce a vertical scroller to my site, I got the code from a tutorial and slightly tweaked the html to meet my needs but now the content doesn't scroll. None of this code has been altered! <script type="text/javascript"> $(document).ready(function(){ $(".newsticker-jcarousellite").jCarouselLite({ vertical: true, hoverPause:true, visible:10, auto:500, speed:1000 }); }); </script>
This is the HTML and PHP part: <div id="newsticker-demo"> <div class="newsticker-jcarousellite"> <br/><?php $query = mysql_query("SELECT * FROM employers WHERE featured = 'Yes' AND image != '' ORDER BY rand()"); $i=0; //$query = mysql_query("SELECT * FROM employers WHERE f_emp_active = 'Yes' and image !='' ORDER BY rand()"); echo '<div>'; while ($aqm=mysql_fetch_array($query)){ ?><div><div> <div class="thumbnail"> <div align="center"><a href="company.php?companyname=<?php echo $string ?>"> <img src="<?=$fullurl?>/thumbnail.php?gd=2&src=employers/logo/big/<?=$aqm[image]?>&maxw=<?=$a18[width]?>" alt="<?=$aqm[companyname]?>" title="<?=$aqm[companyname]?>" class="noborder" /></a> </div></div> <div class="clear"></div> </div></div><br/><br/><?php if($i==5){ echo '</div><div>'; } $i++; } echo '</div>'; ?> </div></div>
I want to get javascript to show or hide a row in a table depending on whether a value is held by a variable collected in a mulitple part formmail. If only 1 adult fills in their name on the earlier form there is no need to show the row which asks him to agree to membership on a later form page. This is what Ive got so far<form name="frm3" method="post" action="bookingscript.php">
I want to hide certain parts of my website by using JavaScript! The small image or a window should appear and cover things up.
This is an example of the window I had in mind: link [URL]). Anyway, I'm new to all this JavaScript business and I don't know how to customize these things. So if anyone has done such things before or knows how to do it
This window widget should have the following characteristics:
- it should stay still where I put it - it shouldn’t move when you scroll down the page (here is a good example [URL]
- website visitors shouldn't be able to move it
- it shouldn't have visible boarders and X button, just background color
I'm looking for javascript to analyze the contents of a textbox and replace the contents with the appropriate date. To make that a little clearer, if the user types 'tomorrow' then when they tab/move onto the next text box the 'tomorrow' text should be replaced with the date for tomorrow in the format dd/mm/yyyy, if the user enters '1 week' then the text should be replaced with the date in one week in the format dd/mm/yyyy etc.
I'm trying to code a feature for my website using DHTML where the person viewing the website can rotate between viewing the positive/negative points of the website being reviewed. This example was in the publication called Using HTML 4 by Lee Anne Phillips. Code:
I have a ajax program on a page on website A. And I need to let it talk to a program on website B. I tried to put website B into the url of the parameter but it doesn't work.It gives me a "[objet XMLHttpRequest]" error.here is the code on website A:
Im currently working on a project with jquery... the thing is.. i need to change the contents of a div named "sub2" with the contents of "pets.html"... i've read some tutorials and i thought the best way to do this is through the use of jquery...
Here's my code:
My image which is supposed to be clicked contains this:
The code is working ., but when i transfer my codes to netbeans with Tomcat running the code didnt work ...
Is there anyone here who knows what's wrong or what should i do with my code?
I have a bunch of .js files that I insert into my my html file using the <script> tag, and this works just fine. The .js files contain info about the menu, table set up, etc. and take care of the page format.
But now, I have a tidbit of Javascript in an htm file, and this tidbit opens up a new window with some information on it. I want to insert all of the menu and format javascript files on this new window that it opens. so, my question is: how would I do this: (since this doesn't work!)
I have a drop down field that is dynamically populated using an XML sheet that looks like:
Code:
I populate the dropdown box using javascript that looks like this:
Code:
My the drop down form looks like this:
Code:
When a user clicks on the drop down box, all of the values inside "<title>" tags get displayed. Once the user has made their selection, the form is submitted and posts the user's option. My problem is that when the user clicks on the drop down box, I want them to see the content included in the "<title>" text but I want the form to post the data included in the "<xml>" tags.
For example, if the user clicks on the drop down menu and selects the option 'Animals' I want the form to post 'xml/animals.xml'. Any ideas how to handle this?
I have been creating a webpage and I have added some buttons via frontpage and linked them to another page, the thing I cant figure out is how to add commands like a javascript button to enable a smaller window, no toolbars, no scroll bars etc.
is there any way i can make the buttons so when they are pressed a window opens with my dimensions etc?
I basically want to be able to store and retrieve a tree structure in greasemonkey. Unfortunately the GM_setValue and GM_getValue functions only take string key value pairs. Is there a native javascript function that will serialize the object so that it can be stored and retrieved as strings?