Grey Box Pop Up First Time Only
Aug 19, 2009
I was changing the code on the Grey Box script to pop up only the first time someone came to the page. I had this line of code working but it doesn't now after I did something to it. does anyone have an idea how I can modify this to make it work?
View 13 Replies
ADVERTISEMENT
Nov 13, 2003
i have an array of checkboxes that are displayed in a table. if the first checkbox is selected then all other checkboxes need to be greyed out, so that the user cannot select anything else. And of course if the first checkbox is unchecked then all checkboxes become available again. Any combination of the checkboxes may be selected unless the first one is selected.
View 5 Replies
View Related
Oct 14, 2010
I have a form with a text box that is greyed out unless a checkbox is checked. The problem is if the checkbox is checked and this enables the text box to enter data and I hit reset, the text box does not reset and turn grey. It allows data to be entered. I have both the html reset button and the javascript clear form, but neither seem to work. How do I reset the text box to grey as well if reset is hit?
View 3 Replies
View Related
Mar 7, 2009
I'm using lightbox 2.0 with Dreamweaver CS3 on Mac 10.4. I am trying to use lightbox with Dreamweaver's hotspots, so right now my code looks like this:
<area shape="poly" coords="209,232,273,224,280,286,219,293" href="images/ATlogo2.jpg" rel="lightbox"/>
I am only getting the gray background when I click on the link though, not the image. The image properly loads in a new window when the rel="lightbox" code is not added. I have tried testing it in Dreamweaver's preview on Safari, and uploaded to the web in Safari and Mozilla's Camino.
View 1 Replies
View Related
Oct 16, 2009
I have a page that has a bunch of checkboxes and input fields. I need to disable and grey out the submit button until a change is actually made to any of the fields, then make it active and blue. How would I do this?
View 5 Replies
View Related
Jun 17, 2009
I'm using Greybox (labs/GreyBox/ ) with a php script. It works great. However, I'd like to have it appear on the right side of the page, instead of appearing in the center of the page, when it pops-up. Someone suggested tweaking the css file. I've tried, maybe it needs code added to accomplish this. I don't know.
#GB_overlay {
background-color: #000;
position: absolute;
[code]....
View 7 Replies
View Related
Dec 13, 2010
I have a div called "sampler".
This is the CSS code of this div[code]...
View 1 Replies
View Related
Aug 4, 2009
I have a site using Grey Box pop up ( http:[url]....).It automatically pops up when you go to any of the 5 pages on the site. Is it possible to add a cookie to it so that it only pop up the first time someone comes to any one of the pages?
View 8 Replies
View Related
May 1, 2003
have image buttons which display gray outline when link depressed in IE. Anyway to remove this through js ?
View 6 Replies
View Related
Nov 11, 2009
I have a div containing a few text elements like date and description. I want to change the background-color of the div to a light grey when the mouse is over it. This works fine. The problem: As soon as the mouse is over a child element, the background changes back!
View 2 Replies
View Related
Apr 6, 2009
I have some jquery code that will highlight in grey a row in a list when it's hovered over - ie:
[Code]...
but of course that will highlight every -even and -odd row, but I want to exclude the list classed .views-important-dates. I can get bloated with it and duplicate the whole code, or I could write a function (which is a definite possibility) but I was wondering if there was a conditional way I could do this - for eg:
[Code]...
View 1 Replies
View Related
Oct 21, 2009
I am looking for sample/ implementation ASP.net with Jquery.My requirement is I have web form with some controls, once the user click on submit, entire form should Grey out with message as processing .... once the database successful, successful message should bedisplayed and if user clicks on close on message the message should be closed and form needs to be cleared or some thing like this.
View 1 Replies
View Related
Oct 17, 2011
I'm looking for a menu like the white and grey one on the left of the following page [url] how to find something similar to use?
I don't mind about the bottom box containing the link description, I don't think this would help the navigation...
View 3 Replies
View Related
Jan 16, 2009
There is a big wide problem that with IE6, PNG images display this horrible grey or white background when it's transparent. It looks ugly, but I can't seem to find a way to solve it. I've searched on google and copied scripts, inserted them in to the document I wish for the png to be completely transparent but it's still not working. I would normally just leave it, but as I want the site to look professional and the transparent png is essential to the data being displayed, I've been trying to find solutions to it.
I realise that most users have upgraded to IE 7 / IE 8 which supports transparent png images but there's got to be a small percentage of users who use IE6. I can't just say "sorry you'll have to upgrade your browser to view the data properly" obviously, so I'm trying to find solutions. I've tried using spacer.gif but that doesnt work (but it does when on table designed pages), so I found some scripts:
[Code]..
View 14 Replies
View Related
Mar 31, 2010
I have recently started seeing a script that puts like a dark grey transparent mask over the intire browser window, while putting up in the center a highlighted visable login form or some type of box requiring user input. Can anyone tell me if that is javascript and possibly point me in the direction where I can find out more about that effect.
View 3 Replies
View Related
Feb 8, 2010
I have this markup:
[Code]...
There are two radio buttons, sometimes one will be disabled, other times the other will be disabled. I would like to make a script that: First: Changes the color of surrounding text of the disabled radio button to the color grey. Second: Checks the other radio button.
This was my plan: I would make a script that: First: Removes all the current classes and add the class "greyed_out" (or better: change only the color of) the parent element, all siblings and children of siblings (if any) of the radio button that is disabled at that time.Second: Sets the attribute "checked to the other radio button". I made a script, but when I set the bottom radio button to disabled the script doesn't work:
[Code]...
View 4 Replies
View Related
Dec 22, 2010
I have put together a script which does this:
1. Make ajax request (via getHTTPObject(), no libraries is used)
2. Create an iframe with script, src is "blank.html".
3. use iframe.document.write() to execute scripts (inkluding document.write based scripts) in the iframe.
4. call parent window's document to clone the iframe content.
5. Append the content clone to parent body.
Works like a charm in all browsers but IE, where every version - including IE9 beta - hangs on iframeWindow.document.close() with empty cache, leaving the window/tab unresponsible. When I force quit, restart and load the page again (now in cache) it works.What I've tried already:
* Googled.
* called the ajax request callback manually with string instead of request.responseText - it works even with empty cache here.Removed document.close() - resulting in scripts in iframe not executing at all (again, only with empty cache, cached pages works fine).
* Tested to make the ajax request synchronous - no difference.
Console.log trace:
Code:
append() begin
unlimited-scroll.js:160 install() begin
unlimited-scroll.js:194 iframe begin[code].....
View 2 Replies
View Related
Sep 17, 2011
I do pretty much all the computer related tasks, which includes computer system repair, audio/video editing, cd/dvd printing and duplication, document format and creation, etc etc. But when it comes to HTML (or other codes) I know very little. But we needed a website, so I use Homestead hosting and the Homestead (offline) Site Builder program.
Anyway, inside the sight builder program, they have the option to insert HTML Snippets. Which I use for various objects, off site tools, and other. But now I need to do something for which I have not been able to find a "premade" html code object, that can perform the task desired. I have searched and searched google and went through many sites, including this one. I have tried to take some codes which I thought I could alter to make it perform, but they just wouldn't work for what I needed them to do.
I need a code that will automate a "specific text message" to change daily, and to schedule a "different specific text message" to appear each day. I need to be able to schedule each days "texts" at the very least 31 days in advance. In other words, I need to make an array (I think that's what it is called) for the entire month:
Day 1 "today's text 1"
Day 2 "today's text 2"
Day 3 "today's text 3"
[code]....
If were possible to make an "array" that would go six months out (or more) that would be very helpful! But the longest that I have seen is one month at a time, so that may be as long as they go, but I'm not sure.On top of all of this, I need these changes to be performed at a specific time of the day. I would like them to be preformed at sunset everyday, but I don't think there is anyway to direct the code to look at like [URL] sunset times or such. So if I can at least choose a specific hour, like 8:00 pm, that will work, I will just have to adjust this every once in a while.
However, I don't want it to change just at 8:00pm in my timezone. I need it to change at 8:00pm according to the website viewers timezone. Is there a way to make the code "look" at the users computer and "get their time" and use that to adjust what text is displayed? In other words, I live in Indiana USA. If someone in Australia looked up the webpage on the 15th day of the month, but it was 9:00pm Their Time. The text I need to be displayed should be for "Day 16" from the array.
View 13 Replies
View Related
Jun 3, 2009
I'd like some direction on creating a small piece of Javascript that will populate my <select> boxes.Basically, I have a form for users to create events, with a start time and an end time. (These are the two select boxes).For example:
Code:
<select id="startTime">
<option value="12:00AM">12:00AM</option>
<option value="12:15AM">12:15AM</option>
etc.....
</select>
What I am trying to do is:
1) Have times populated in 15 minute incrementals from 12:00AM to 11:45PM
2) Have some type of "error checking" available to where the End Time must be after the start time. It would be nice for the script to automatically change the end time field to a time that is after the start time.
View 11 Replies
View Related
Apr 21, 2011
I'm writing an application with PHP that let me have statitics about visited pages for my web site. to save informations needed i use an ajax query with the unload event. The problem that i have is titme to time the script uses with that ajax query doesn't work especially when i stay long time in a page.
This is my code?
Why it works most of time but sometime doesn t work? is there any specifications to take for the unload event ?
View 11 Replies
View Related
Mar 2, 2011
I am trying to check the user enter time with current system. If user enter the time less than the current system time then I want to display the alert box. But the code is not working. Here is the code
<html>
<head>
<title>test</title>
<script type="text/javascript">
var d = new Date();
var curr_hour = d.getHours();
var curr_min = d.getMinutes();
[Code].....
View 11 Replies
View Related
May 30, 2011
I do have the countdown script (see link below) to display the time between current time and the date given in real-time. However, I want to achieve to display the time difference between a given start and end time. Right now, it calculates from the current server time to the end time. I want to be able to set up my own start time and end time.
View 2 Replies
View Related
Jun 7, 2009
I have scoured the net and found nearly what I'm looking for, but not exactly, and I don't really know javascript, so trying to piece together bits of code hasn't worked. What I need is the script for a live clock with date and time format exactly as follows: Sunday, 07 June 2009, 24:00:00 (GMT+1).I have two separate files with the following code, which gets me close to what I need: Sun Jun 07 19:05:48 2009 Obviously the time is in the wrong place and it doesn't show GMT+1. These are the scripts:
Code:
function update() {
time = Date();[code]....
View 1 Replies
View Related
Mar 4, 2009
I need to convert a string containing the time to a real time value so I can insert it in to a time column in my database. tempElapsed = "1:22:33:44:555"
var _tempElapsedHours = tempElapsed.substring(2,4);
var _tempElapsedMinutes = tempElapsed.substring(5,7);
var _tempElapsedSeconds = tempElapsed.substring(8,10);
var _elapsed = Date.parse(new Date(_tempElapsedHours,_tempElapsedMinutes,_tempElapsedSeconds));
The result of elapsed is -1.4243e+012, I was hoping for a time value of 22:33:44
View 2 Replies
View Related
Mar 8, 2011
I'm not really a Java writer, so I don't know how to do this myself, though I imagine it would be pretty simple. I am looking to add a script to a webpage that allows users to input a time manually, and have it converted to GMT/Zulu time and display the converted time. I have seen a lot of time zone conversion scripts online, but they all just convert whatever the current system time is to another time zone. I am looking for a script that allows users to convert a time and show the zulu time, for times other than the current time. The time zone the inputed local time would be in is +4:30 (Kabul). I don't really care about style or aestehtics, just a simple script I can insert into a web page to have a time input field. The converted output time can appear in another field, a popup bubble, etc, again style isn't really an issue. It's really just to help people in my job who need to know what the GMT/Zulu time was for certain local times after the fact. One would think it shouldn't be that hard to just subtract 4:30 in your head, but apparently it is.
View 3 Replies
View Related
Apr 15, 2010
There are probably a million threads about time conversion, but I cannot find the answer to my problem. So I'm making it a million and one...
I have my date/time stamps stored in UTC (ie number of second since the Unix Epoch). How do I convert this to a definable local time in JavaScript? With definable I mean any local time, not necessarily the machine local time.
In PHP I would do it as follows:
Code:
$utc = time(); // current UTC
$timezone = "America/New_York";
date_default_timezone_set($timezone);
echo date("Y-m-d H:i:s", $utc);
The above would give the current date/time in New York. I would like to be able to do this in JavaScript for any time given in UTC.
View 4 Replies
View Related