Pop-up Image For Visitor That Visiting For First Time?
Dec 23, 2011
Anyone know how to pop-up image for visitor that visiting for first time?
the pop-up image should be appears 30seconds then it will open new window tab with adress page that i have attached to image then after 30seconds the pop-up automatically close.
View 6 Replies
ADVERTISEMENT
Jul 12, 2011
My requirement: Each time a visitor arrives at a specific webpage i want the main image on the page to be different, or more specifically, one of 6 images which will be shown in rotation. Solution: Set a cookie. Each time the visitor access the page read the cookie and display the corresponding image. Then increment the value and rewrite the cookie, so that next time they'll see the next image in sequence. NB: if the cookie does not exist (first timer) or is at 6, then the value is set to zero (and then incremented).
Problem: Can't get my coding to work. Specifically it just doesn't do anything - no error message, no cookie written. I'm a very novice scripter, as in I've cobbled the coding together from bits off the net that i think i've managed to grasp some kind of an understanding of. Very suck it and see - so far lots of sucking and no seeing!
[Code]...
View 6 Replies
View Related
Apr 22, 2010
I have merged two scripts to make a popup that comes up even if blocked, and is for first time visitor only (cookie). The problem is that the way I'm doing it, it might show one or more times to the visitor. I don't want that because it will be irritating and this is a high-priority client. I'm posting the whole script because I think the problem is calling the popup before checking the cookie, but not sure how to rearrange things.
Also, I did search and found some good dhtml stuff but don't want to rewrite. This was supposed to be done last night so if I can fine tune this for now, I'll have time to rewrite something better (or at least play around with another script). Also, the popup refuses to come up in IE - I have IE6, but I detest IE and their site doesn't even load in it so whatever. I tested in FFox3, Opera 10 and Safari and it seems to work but like I say because of the onclick - it will load at any click until the user goes to a different page. I added a refresh in there but it just made things worse - too much going on for the user at that point.
[Code]....
View 9 Replies
View Related
Mar 16, 2011
I want to make a custom visitor tracking tool and like Google Analytics it must be able to track how long time visitors spend on each page.How do you recommend doing this?I thought of using the Javascript onload event to start counting time serverside and then the onbeforeunload event to do tell the server to end the time count. I'm just skeptic of an infinite visit duration if the visitor's browser for some reason doesn't call the event (ie power outage).
View 2 Replies
View Related
May 2, 2010
I have a .Net website that uses a text file to record when visitors arrive on a page.
However, I really want it to also store the date and time that a visitor leaves a page. I can easily calculate the time spent on pages within a session but currently have no way of knowing how long someone spent on the last page they visited during a session.
What I need is a script that runs when a page is unloaded. The script will update a text file (stored in the htdocs folder of the site) with the current time.
So far, I have come to the conclusion that I may need to use JavaScript and the window.onbeforeunload event but I cannot get any further.
View 3 Replies
View Related
Jul 20, 2005
Let's say you provide an online service from 7:00AM to 6:00PM Eastern
Time (daylight time in the summer). Is there way of showing these
hours of availability on a web page in the user's local time?
View 8 Replies
View Related
Jun 8, 2011
We have been trying to set up a procedure on our website so that the following happens:
When someone clicks on an image, the visitor is taken to our Contact Us page, the title tag is inserted into the Subject and they can complete the rest fo the form and submit.
We have about 40 pages of images, all of which have the ALT and TITLE tags completed. Each image has a description paragraph, and all pages are made using HTML and CSS.
We've seen several websites, although of course now we can't find them, that something similar occurs. Seems there was a jquery script that did this type of thing, but it would only work on the same web page and we want it to go froma category page (about 40 different image category pages right now) to the Contact Us page.
It is important that the name related to the image shows in the email form so we know what image they are referring to.
With our limited knowledge of javascript, we've not been able to insert the TITLE or ALT tag info into the form Subject so that it shows on the emailgoing to us. We've attempted onclick which now moves the visitor to our Contact page. We also can use the <a href as well.
View 1 Replies
View Related
Mar 8, 2010
Is it possible to play a sound file when a visitor to my website moves their mouse/pointer over a single image no matter what browser they are using?
View 4 Replies
View Related
Mar 26, 2010
For a lot of years now I've used a javascript that does a simple rollover image swap, but also changes another alternate image at the same time. It's always worked like a charm.Lately I realized that the script no longer works in IE, though it used to in older versions of IE (I think it stopped working in anything past IE 7). It still works fine in Firefox, Safari, etc.I haven't been able to find a good alternative for this script, so I'm really trying to get it to work again in IE, but so far no luck.
Here's the link to the actual script itself. http:[ur;l]....
View 1 Replies
View Related
Mar 26, 2006
I've searched high and low on this forum, and google for a script which changes an image dependant on what time and day it is.
It's for a community radio station website, so I want to have an image of what's on (i.e. DJ's Picture) that links to that shows minisite.
View 2 Replies
View Related
May 7, 2007
I found a bug in IE6, though it is known already. If I have a CSS
background property set to some image, such as
background:url(myimg.gif);, and I apply this property to some html
element, say DIV, and refresh DIV every 10 seconds, background image
is reguested every 10 seconds for IE6, too.
The fix which I found did not fix the problem:
try {
document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}
Code:
View 4 Replies
View Related
Feb 11, 2011
Random Image Slideshow (I want two!?) :eek:
I have use the code from here: [URL](which works well for me)
how I can get a second other random image to display on the page beside the first? I cant work it out.
It seems I cant run the script twice?
Here's my page: [URL]
View 6 Replies
View Related
Jun 14, 2011
I don't know if this is possible, so I figured I'd ask a few gurus. I know it is possible to have an image change at a certain time of day, and it's also possible to have an image change by day, but is there a script to do both?
What I want to do is have the first image show from 8am cst to 6pm cst mon-fri, it's our open sign for live chat. The the rest of the time have the second image.
Is this possible with any type of script?
View 7 Replies
View Related
Mar 8, 2011
I have the following navigation links:
HTML Code:
<a href="images/apollohaga.jpg" title="a" id="productlink">Num 1</a><br />
<a href="images/apolloherr.jpg" title="b" id="productlink">Num 2</a><br />
<a href="images/apollodam.jpg" title="c" id="productlink">Num 3</a><br />
[Code]....
I have tried all sorts of things to get this working but no luck so far.
View 16 Replies
View Related
Jul 25, 2006
I am looking for a script that changes an image based on time. The ideal script would work something like this.
Image A displays from 12:00 - 2:59
Image B displays from 3:00 - 5:59
etc etc...
Does anyone know where I can find a script like this or vary similar to display certain things at certain times?
View 1 Replies
View Related
Sep 6, 2010
I have 10 image libraries and I want to see 2 pic at a time from each image library. I want to make a scroll option where I can see 1image from each library. Any advise on scrolling panel using jquery.
View 2 Replies
View Related
Jan 12, 2012
do the following: I have a thumbnail image that on rollover swaps to another image. At the same time i want to do a fade out/fade in animation between the images. Most of it is working but when the page loads for the first time there is no swaping of the image but just a fast opactity effect on the first image. Then if i try the rollover for the second time it does work as expected. Is it because the image that im loading doesn't load fast enough and the whole animation onRollover doesn't happen? I also have a problem when Rollover fast on the thumbnails. It just stays on the second image but doesn't go back to the first original image? For some reason the animation gets confused between the Rollover and Rollout states. Here is a link to see the example
[Code]...
I know this is not a good practice but do is why im looking for help in this forum.
View 14 Replies
View Related
May 11, 2009
However, I just want to add a small bit of functionality to a new site to make the waiting site owner happy.As you can see here, I got a big image of glasses on the top right of the home page.I do this with CSS only:Html:
<div id="teaser-right"></div>
CSS:
div#wrapper #content #teaser #teaser-right{
[code]....
View 2 Replies
View Related
Sep 15, 2010
How do you make an image begin to load after a certain amount of time? e.g 3 seconds.
View 9 Replies
View Related
Aug 25, 2011
I need to build a slider. which is not there in the page when it loads. then after few seconds it appears and slides from the right hand side of the window and stops at some position on the screen. then after few seconds it changes its image into another one. each and every one of the images has a different displaying time. that time is a database data and i have to specify it accordingly... I have no idea how to do this and i am a newbie to javascript. i don't know whether javascript can do this, maybe another technology..
View 6 Replies
View Related
Aug 1, 2010
I use DIV tags with onMouseOver action on the DIV-s. I want to download and show a photo if an onMouseOver activates. This is simple and works but there is a problem.First time I move my mouse cursor on the DIV the photo doesn't appear, only its border. When I move the mouse off and back again, the photo appears right. I want to show the photo first time well.There is a solution: preloading images with JavaScript invoked with the onLoad event of the BODY tag. But I would have numerous (100+) photos, so it's a bad idea to preload all the photos (and users usually want to see only a few, not all of them). It is acceptable to wait a second or two after activating onMouseOver while the photo is downloading but it's not acceptable to do TWO onMouseOver actions for a photo
View 2 Replies
View Related
Mar 21, 2011
I want to change the background of my main div depending on the time of day. Right now this code works for two time of day, day and night but it only works on the "body" tag not on a div. How would i modify it to change a div background rather then the "body" background
[Code]...
View 6 Replies
View Related
Aug 9, 2010
Have a light box script I built and it works fine in IE, FF, Opera but in both Google Chrome and Safari the image doesn't load if you try to fire it again. In easier terms, if you click on the image that fires the event and shows the 'super sized' image in the light box it works fine the first time. If you then close the lightbox and click on the image again the lightbox shows up but there is no image. I even added some alerts to see what was happening and in IE, FF & Opera both the alerts fire all the time, in Safari and Chrome they both fire the first time but the second time only the 1st alert fires.
[Code]....
View 2 Replies
View Related
Dec 12, 2011
I would like to use jquery to load 3 images after the page has loaded. I would like to request and load one image at a time. I tried this, but the requests and loads are happening simultaneously.
View 2 Replies
View Related
Sep 14, 2010
I am trying to move an image down 20px each time the button is clicked, but I can only get it to move down once. I see what I am doing wrong, but I'm not sure how to fix it. I don't know how to store the updated position of the image in a variable.
View 5 Replies
View Related
Mar 26, 2010
I am trying to have text that is placed over an image cross fade into another image with text placed over it. I am using jquery and the images are cross fading perfectly. The text isn't working so well and in Firefox it seems to be very choppy and even sometimes the text just disappears and then there is a blank slide without any text or the text is showing up on the wrong image. Here is the code I have so far:
HTML Code:
<div id="slides">
<div class="slide">
<img src="_images/placeholder3.jpg" width="695" height="195" alt="A Passion for Service" />
<div class="slideText">
<h1>And A Different Heading</h1>
<p>With the appropriate solution for each client, we provide biomedical engineering and information technology services to suit your needs.</p>
[Code]...
I am new to jquery and am going through the Sitepoint book "JQuery: Novice to Ninja. I am using the crossfade code from the book and I tried to apply it to the text as well.
View 2 Replies
View Related