Script Works Only In Some Pages / Resolve This?
May 22, 2011
I have a joomla site, for which I have created a calendar, it is built with javascript and php, there is also an ajax request to update the calendar.
The calendar works fine in the main page, but when I go to any other link the calendar stops working.
View 2 Replies
ADVERTISEMENT
Aug 27, 2010
I've been searching the net for a few hours now for a js that i can use code... load into a div, but i cant seem to find one.
View 3 Replies
View Related
Aug 24, 2011
I am trying to do a setInterval to switch the background-image of a div. The switch will happen every second.
Here is the html code...
On firefox 6 and IE9, it switches just fine. On IE8 and Chrome it switches once and then stops.
Not sure why it is working in the newer browsers and not the older ones. I know there were some new javascript features added to the newer browsers, but i cant figure out where the error is occurring.
View 3 Replies
View Related
Sep 28, 2009
I am using googles O3D software and it uses a javascript base, one of there plugins works in Firefox only and not Internet Explorer why it isnt working in IE and even how to fix it, here is the page that works in firefox but not IE
View 7 Replies
View Related
Jan 21, 2009
I made a scale animation that works on IE 7 but it does not work on Firefox 3.
The button toggles between scaling up and down.
In Firefox , it shows a weird behavior: it starts the loop for scaling up but it is quickly interrupted and return to its original scale.
What should I change in the below code to make it also functional on Firefox 3 ? code...
View 2 Replies
View Related
Mar 19, 2010
I'm having trouble with my XML news feed being displayed in IE. The JS calls the XML, and displays the relevent data on the homepage. This works beautifully in firefox, but fails completely in IE, what am I doing wrong?
The Code for the script follows, and is contained within the <head> of the the HTML;[code]...
In FF, the XML is read, and the corresponding data is entered automatically into the HTML document. Everything works perfectly. In IE, nothing seems to happen, no text is displayed and the image is just the broken link icon.
I assume I need to modify my ELSE statement somehow, but have no idea what to do! Unfortunately I cannot provide a link to the webpage, it has not been uploaded as it doesn't work yet.
View 2 Replies
View Related
Nov 15, 2011
I am very new to javascript so I'm sorry if this is a stupid question. I made this page by pecing scripts together that I found online. I don't even know if this is the best way to get my desired results. I want the background to fill up the entire window, as well as the text and link to remain on the bottom in their respective corners and also re-size with the window. The code doesn't work the first time the page is loaded, but it works fine after it is refreshed. Do y'all have any suggestions on how to fix this.
View 1 Replies
View Related
Aug 4, 2011
I'm developing a website and I am using a slideshow done in jquery which works fine on all pages expect the gallery page.On the gallery page I am using Lightbox2 but as soon as I add the js files to this page the slideshow stop working and only shows one image.
View 4 Replies
View Related
Aug 7, 2011
i am using an image scroller and i have it on three pages, the pages use the same header, the same css and the same basic structure.such as
table
content
footer
the problem is that the scroller works fine on two of the pages but does not work at all on the one page.here is what i am getting on that page
Message: 'ElementExtensions' is null or not an object
Line: 1898
Char: 3
Code: 0
URI: http://www.mysite.com/lightbox_slideshow/prototype.js
Message: Object doesn't support this property or method
Line: 705
Char: 41
Code: 0
URI: http://www.mysite.com/lightbox_slideshow/lightbox.js
Message: Array length must be assigned a finite positive number
Line: 464
Char: 5
Code: 0
URI: http:[url]....
the only common denominator i can see is that the page it does NOT work on is in fact a photo manager page, the other two (that DO work dont deal with photos)i checked the array and the js vars and stuff are different from my photo manager vars (php) so i was thinking maybe there might be a clash of some kind accessing the queries at the same time when the page loads but i dont get any errors other than these.by the way the scroller is black not grey like the others for background.does it sound like from the errors that i am getting that it might be a db query clash of some kind.
View 2 Replies
View Related
Sep 27, 2009
I coded the following JavaScript:
var el = document.createElement("iframe");
el.setAttribute('id', 'ifrm');
document.body.appendChild(el);
el.setAttribute('height', 250);
[Code].....
And am putting it between <script type="text/javascript"> and </script> tags in the <body> section of my site. But, it only works in certain areas of the page.
View 6 Replies
View Related
Dec 13, 2006
I'm just restating my "site abandonment" post but with a clearer title as I realized it probably only made sense to me and me alone.
I have window that pops up with our commerce system. I have it set to pop up a window via JavaScript if the visitor quits early in the process (abandons the commerce system before completing all of the steps. The new popup is just a customer survey ("why are you leaving, is there something else we can help you with" etc. etc.).
Here's the problem, it works fine in IE, but in Firefox, anytime the page in the original commerce window is changed, refreshed or advanced to a new page, the survey popup window is called rather than just on window close.
Again, here's the two JavaScript routines that handle clicks on the graphical close button and on the window 'X' close button. Code:
View 9 Replies
View Related
Jul 19, 2011
How to link two html pages? If we use <a> then what do wr give value to href?
View 3 Replies
View Related
Jun 19, 2010
Code...
In IE7/Windows the left vertical navbar disappears. I have used every hasLayout trick I know. Can anyone put a finger on it? I'm working with legacy code to complicate matters. code...
View 1 Replies
View Related
Jun 20, 2009
If statement won't work / resolve this? Here is my code...
View 1 Replies
View Related
Dec 20, 2010
I have a JS value but it won't put the value in the brackets when i try to get the element by ID instead it is looking for the id named the same as the variable name.
Here is what i got to explain better code...
View 2 Replies
View Related
Jul 19, 2011
I am fairly new to javascript and am having trouble clearing a text field. I am making a "vending machine simulator" as an exercise. I have a button that is the coin return, and should clear the balance display. e.g the machine shows a balance of $2 inserted, the coin return button should clear it to 0.
I believe I have done everything correctly but get NaN as the output (a text field named "box1"). I believe it has something to do with how the field is validated. It has number precision set to 2, which I would think would just become 0.00 or something. Anyways, here is my code code...
View 10 Replies
View Related
Sep 5, 2011
I'm new to JS and I can't get this function to display. [code]...
View 18 Replies
View Related
Mar 9, 2010
I am really confused. I want to make a <p> tag hidden using javascript, and then, if i detect its running IE, i want to make it visible. I can't even make it hidden though. I have tried code... and I've tried both of these variations with the getElementById('warning') instead of plain old document.warning too. Nothing works. I've even tried setting display to none. What is going on?
View 6 Replies
View Related
Oct 9, 2010
This is the code that not getting the result code...
View 1 Replies
View Related
Jan 10, 2011
I have tried every possible way to work this Javascript on IE, but it doesn't work. It say's Error on Page in the status bar. [code]...
View 2 Replies
View Related
May 16, 2009
I have a demo where I'm trying to use innerHTML to build code...
View 7 Replies
View Related
May 28, 2009
Alright simple JS question code...
It's supposed to remove the text if it contains "First Name" and put it back if it equals nothing.
View 16 Replies
View Related
Feb 3, 2007
Here is my ajax library code...
This code runs prefect in FireFoc but IE7 will only process the first request. I remember reading something about IE of processing first respondText and if invalid character are in there it no not process any more. I am just passing plain HTML and rather using innerHTML because it seems earlier than using XML and i really don't see any benefit on using XML. is there any way i can get this to work nicely in IE?
View 5 Replies
View Related
May 5, 2010
I have the following code...
It's not showing me the alert. I'm just trying to get that part to show it works. However, what I'm trying to do is add up the values in one and two and the based on adding those two up and then placing that total in the total field. Any ideas on how to do this?
View 2 Replies
View Related
May 28, 2010
I tried coding something quickly myself and was wondering why I couldn't hide a frame (one with a blue image, one with a red - simple test)
So I gave up and looked through google and found a simple tutorial at
I copied this code exactly into three files, the main html frameset and the two test frames.
Named properly etc etc, but I can't get the hidden frame to show up using the button. So is the functionality behind the scenes the problem here? Or is this some other issue?
View 5 Replies
View Related
Sep 17, 2010
I'm using a javascript quiz I copied from javascript.internet.com and it's not working right. I like what the quiz does (if it works right), so I want to try to make it work. When you click the button to get the results at the end of the quiz nothing happens.
View 8 Replies
View Related