I'm new to java script and am desperately trying to understand it all. My first question is, I'm trying to create a "rotator" for my companies home page, much like the one on [URL]. And by rotators, I am referring the the deal that right underneath the nav bar that is rotating pics, etc. I found one I like at a different site as well, so I talked to the web developer and he graciously supplied me with the java script code for it. The code is fine, but when I place it in a document, it has the pics and text underneath each other instead if rotating the pics.
Before the home page of a site i've developed appears, I want the logo of the company to appear on the screen, then fade out to reveal the web page with full functionality. I also could do this be fading out the logo to reveal a static image of the home page which then could redirect to actual home page.
I have posted in my community in Open Text an accordion, but only the text is displayed like a bloc, no accordion effect.on this community the Module header look and feel is based on a CSS. It seems that i have some conflicts between both (no error message displayed).
I need to use a piece of Javascript similar to "this.setHomePage(url)" that works in Firefox (and IE7)
There have been other threads on this topic, but they descend into "let the user do what they want with their browser" or end with a piece of script for adding bookmarks/favourites...
Does anyone have a solution for this? Or is it something that can no longer be done with the security of new browsers?
I'm having trouble trying to figure out why on the home page there's a script error from both IE7 & IE8
"An error has occurred in the script on this page. Line: 49 Char: 5 Error: Object doesn't support this property or method Code: 0 URL: http://gopureenergy.com/ ..."
I'm not familiar with how the IE Debugging tool works
When someone comes to my site I would like to check to see if their homepage is set to my site. If it is then nothing is done. If it is not then I'd like a link to appear that asks if they'd like to set their home page to my site.
Can this be done? If so can someone post the code to do it?
i need a script that allows users to make my page as browser homepage, (i.e, when users click a link, the page will be their home page e.x (Make anairat page as homepage.
I have a button in my site which when clicked, will set the current page to be the home page for the user. I use the following code:
var hiddenLink = document.getElementById('dummyLink'); hiddenLink.style.behavior='url(#default#homepage)' hiddenLink.setHomePage('http://www.123.com'); somewhere in my <body>, I have the following link definition:
<a href="#" id="'dummyLink'" style="display:none"></a> Now, this solution works fine for IE But I need to have a working solution for Firefox and Opera too. Does anyone know how to solve this in these 2 browers?
I have a javascript error in my home page. Which is annoying. I am having hard time debugging it. [URL] FF is not showing it. IE7, 8 shows the error. I just launched the website and I do not want users noticing an error.
how to make a particular website their default home page when they click the button "Make this site your homepage" using javascript. This sample code works in IE, but other browsers doesn't know this code.
how to do this stuff on other browsers. I've research on this but still can't find good codes that do something like the code mentioned above. Others are redirecting the users to do something to make the website their home page.
I launched the following scripts but only the "Auto Start Page Rotator" page appeared.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
i want a make my web site the home page of the visitors who 'll visit my site....but i wanna do this without giving any message 2 them....i daont want them to know abt this....that on their visit my web site 'll become their home page.
when I was trying to create the code which is posted below. it is a table of banner ads that will rotate on my website and the appropriate link follows the appropraite ad when they rotate. everything is working fine except that when you click on one of the ads ( which is a link), the link works but the page displays an error at the bottom as soon as any link is clicked.
I have a text box in a popup window and i need to pass the value from the textbox to the parent page.My problem is iam able to pass the value at the 1st time,but the next time when i try to do this im not getting the value.The thing is if i referesh the parent page every time iam able to pass the value.
I would like to create a "slide show" on my website's home page.
Here are some examples of what I mean...[URL]
[URL]
KSLX-FM 100.7Apparently most websites use Flash to accomplish this effect, however I don't have any Adobe software. In the past people told me this could be done with JavaScript, but I don't JavaScript.
P.S. Attached are 4 images that can be used for a "mock-up". (Just some silly jokes!)
I've seen websites that had large flash ads that covered content on pages that, after they had run, resized or disappeared.
We would like to use the technology behind that (presumably JavaScript) to show and hide an intro flash on a home page. We would like to have a "close" link on the flash also.
I have searched Google and here but haven't found any good resources and many of the sites I have seen using the technology are no longer using them. I just need a little assistance on the JavaScript part of the puzzle.
We want the flash to start over the copy on the page and then roll out softly when it's done playing, revealing the content below. Code:
if I am loading content into a div using the get feature of jquery, and that content has some clickable objects in it will jquery recognize those as well? What I am doing is building a site that tracks bugs on our software. The site pulls the bugs from a mysql db and displays in a table format. There's an edit link which passes the record id number of that bug (via ajax) to a php file, where a form is filled in with the bug data and passed back, a hidden div is then shown with the form in it. Part of the code I pass back has a submit button and a close button (css styled anchors) and I'm using the same process on them as I am on the edit link but not getting any results. My script looks like this:
<script src="js/jquery.js"></script> <script language="javascript"> $(document).ready(function(){ //hide edit form
[Code].....
how it works. Does it sneak peek the page after it loads and get all the objects into some sort of array? I'm thinking it is doing that and because I am adding other object through AJAX it is not seeing those, since the page is not being reloaded.
I am trying to make a simple image rotator using JQuery. It seems to work for first loop however it does not iterate back to the start of images once it reaches the last image. I have tested and the code is getting the first image reference but due to some reason it is not working. I have attached my code.
I used the code here for my photo rotator: [URL]. It works when there's one rotator on the page, but I need to add a few and that does not work. function theRotator() { //Set the opacity of all images to 0 $('.photos img').css({opacity: 0.0}); //Get the first image and display it (gets set to full opacity) $('.photos img:first').css({opacity: 1.0}); //Call the rotator function to run the slideshow, 4000 = change to next image after 4 seconds setInterval('rotate()',4000); } function rotate() { //Get the first image var current = ($('.photos img.show')? $('.photos img.show') : $('.photos img:first')); var currentButton = ($('.photos a.active')? $('.photos a.active') : $('.photos a:first')); //Get next image, when it reaches the end, rotate it back to the first image var next = ((current.next().length) ? ((current.next().hasClass('show')) ? $('.photos img:first') :current.next()) : $('.photos img:first')); var nextButton = ((currentButton.next().length) ? ((currentButton.next().hasClass('active')) ? $('.photos a:first') :currentButton.next()) : $('.photos a:first')); //Set the fade in effect for the next image, the show class has higher z-index next.css({opacity: 0.0}) .addClass('show') .animate({opacity: 1.0}, 1000); nextButton.addClass('active'); //Hide the current image current.animate({opacity: 0.0}, 1000) .removeClass('show'); currentButton.removeClass('active'); }; $(document).ready(function() { //Load the slideshow theRotator();});