Gallery Coding - Not Working In IE?
Feb 6, 2011
I've created a website for a client for their business, and the javascript is working in Safari & Mozilla, but not in IE. In IE you can click the image, but nothing activates. The ability to move from left to right to view images still works however. I'm wondering if having both of the javascript capabilities is fighting with the IE browser?I would love to hear of a solution - I'm not an expert in Javascript by any means.
View 3 Replies
ADVERTISEMENT
Jun 27, 2009
So basically by using jQuery you are able to completely separate your HTML from your js which is great.
I work with templates most of the times which are maintained by designers who don't code so the code/design separation works marvells for me.
One thing that is not working in my workflow is that in jQuery, since you address HTML using CSS, the designer might feel that all of a sudden those nice divs don't need to have borders any more. So they go out and change the template, removing some classes that you have used to reference the HTML in your js code. Result: your code doesn't work anymore.
I'd like to know how people are dealing with this kind of thing. How do they make sure the designers don't mess with their classes/ids, etc while maintaining the designers' freedom to do their job.
View 1 Replies
View Related
Nov 17, 2009
I have the page linked below. The first three thumbnails are videos and have a working tag of rel="prettyPhoto" but the next table of thumbnail images have a tag of rel="prettyPhoto[1]" that is not working.
LINK- [URL]
View 5 Replies
View Related
Dec 14, 2011
I've been struggling for the past hours to get this code to work, more specifically the nextImage and prevImage function. Everything else seems to be working well. What puzzles me is that it works randomly, meaning sometimes it will go next/prev and behave properly, others it won't. This is really the best I could do.
HTML Code:
View 1 Replies
View Related
Oct 11, 2011
I have written the below script to swap images in a main viewer for a gallery on a website (I apologise if the script is not very elegant I have only just started learning JS).The idea is there are 2 divs one positioned on top of the other, when the user clicks on one of the thumbnail images the div on the bottom changes to the new image, then the top div fades to transparent to reveal the new image, then once the top div is completely transparent it's image is swapped for the new image and it is made opaque again.Anyway elegant or not the script works fine in Firefox, Safari, Camino and (shockingly) IE, but it doesn't work at all in Chrome.
Code:
var fadeTime = 800;
var newImage;
var images = new Array();[code]....
View 4 Replies
View Related
Oct 21, 2010
The images stop at image 3; if I press next it doesn't loop. How can I make it continuously go round and round when I press next/previous? I'm new to JavaScript and I found this script online ( might be old ) and I just need to use it for a simple gallery where images switch as I press the navigation. My problem is that when I preview the design in my browser ( Safari & Firefox ) is doesn't work. Nothing happens, they are marked as links, but I just can't click them.
<head>
<script type="text/javascript">
* DHTML slideshow script- Dynamic Drive DHTML code library
* This notice must stay intact for legal use
* Visit [URL] for full source code
var photos=new Array()
var photoslink=new Array()
var which=0
//define images. You can have as many as you want:
photos[0]="SW4_1.jpg"
photos[1]="SW4_2.jpg"
photos[2]="SW4_3.jpg"
//Specify whether images should be linked or not (1=linked)
var linkornot=0 .....
View 6 Replies
View Related
May 11, 2010
The link for the page is here [URL]. As you can see there is an image gallery that is supposed to be controlled with lightbox, however I can not get the lightbox script to work and everything I've looked at seems ok. Any ideas I have uploaded all the required js files and images files as well.
View 6 Replies
View Related
May 10, 2011
This image gallery is not working in all browsers. It seems to work in an older version of FF on both PC and Mac but not working in IE or newer versions of FF.I created this gallery using an Adobe Bridge Extension.
View 3 Replies
View Related
Dec 11, 2010
I am using the featured content slider, where i want 2 sliders on the same page. when i call more than one time the first one is working and not the second one.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
[code]....
View 1 Replies
View Related
Aug 3, 2010
For some reason the gallery image isnt poping up in a window, it just opens it in a separate page. Anyway able to assist?
View 3 Replies
View Related
May 2, 2011
I've found a post regarding this issue but it's a little bit different this time.So I've created a .php script which creates some galleries where users can click them and browse their respective photos. It works like a charm in Chrome and FireFox, but IE doesn't like it.With this code:
script
type
="application/javascript"
[code]...
When I click on the gallery thumb it should open the first photo in fancybox and browsing through the gallery should by peanuts. And it is, but with IE just opens the .jpg in a blank page without fancybox. The strange thing is I've used the same script approach in another website and the fancybox works just fine with IE too. So why doesn't in this case?
View 5 Replies
View Related
Jun 30, 2011
how to make the following two simple image galleries:This one displays a specific image when its link is clicked ((URL address blocked: See forum rules)/tests/gallerysimp.html) And this one displays the previous/next image for whatever's showing ((URL address blocked: See forum rules)/tests/prevnext.html). (During its code, it points to this .js file ((URL address blocked: See forum rules) /tests/ nextPrevious.js).)
My question is, how do I combine those two galleries? How can I make one gallery that contains both kinds of links? Since the two galleries were copied from different places, the names they use aren't the same, and I'm not sure what to change to make it all unified. (I tried fiddling with it for over an hour before giving up.)
View 12 Replies
View Related
Oct 7, 2009
On my blog, www.finkfinance.com, it loads but with the filing Javascript error code...
Does anyone know how I can fix this? I'm not a web coder and I'm lost when I open up the stepcaraousel.js file.
View 4 Replies
View Related
Dec 27, 2009
I have a nice search engine but its seems i can't put it twice on the same page:
<script language="JavaScript">
function startSearch(){
searchString = document.searchForm.searchText.value;
if(searchString != ""){
searchEngine = document.searchForm.whichEngine.selectedIndex + 1;
finalSearchString = "";
if(searchEngine == 1){
finalSearchString = "[URL]" + searchString;
} .....
How to put the code twice in the html page without creating a conflict as a result of identical codes?
View 4 Replies
View Related
Jul 13, 2011
I'm currently modifying a php controlled website and wish to distinguish between javascript and non-javascript browsers in order to decide which pages to display. I have a single php controller script which "includes" a number of html pages. I want to ensure that I cater for both javascript and non-javascript browsers (so functionality is the same, only the javascript pages have a far better look and feel to them).
Therefore I would like to code something along the lines of :
Code:
if (javascript_browser=='true')
{
include './javascript_page1.html.php';
exit();
[Code].....
View 1 Replies
View Related
Jul 23, 2005
Can anyone recommend a good editor for coding Javascript?? ie. once which
has 'intellisense' type prompting etc.
If there isn't an editor with this built-in, is there a program which does
it as a quick-ref help tool??
View 1 Replies
View Related
Jul 20, 2005
Firstly it generates two numbers. One is the sum of the CharCodes and
the other is the product of multiply each of the charcodes together
and usisng the Modulus function.
If the text string is correct, the string is then used to decode (via
a relatively simple crypt) another string, which then gives you the
correct target url.
I hope that makes sense - if it doesn't, its pretty unimportant as the
question I have is as follows :
In javascript, how do I code something that allows me to cycle through
all the possible text strings. Ideally, I would like to read from a
dictionary file and then start a brute force.
Throughout each cycle, I imagine you just set input_user (in this
case) to the value of the next line in the file. For a dictionary
attack I imagine. That bit isn't too tricky I don't think but I can't
get my head around it. Maybe more coffee would help?
And I'm sure struggling to put together a brute forcer so I turn to
you guys and gals to ask if you could help me and point me in the
right direction on how to code this.
I'm assuming also that the code we end up with, would be generically
useful too as in we could vary the output (going to input_user) in
this instance to another variable and use it with another script?
View 10 Replies
View Related
Jul 1, 2009
This is a FAQ page I built with custom jquery function that toggles the answers open/closed on click of a question, and Im just wondering if anyone has a suggestion to make the code leaner and meaner:
[Code]...
View 1 Replies
View Related
Mar 13, 2006
I need advice about creating an order form (I was sent here from the General Web Building forum!) and I have been told that JavaScript is the way to go - can anybody help with the following (I know nothing about Javascript really).
I have an order form and plan to have the data emailed to me (I have FormMail script installed on my server). The form will have the following fields:
Reference Number
Size / Cost
Quantity
Grand Total
Clients will enter the ref no., choose a size/ cost (radio-button), and quantity (text box). I plan to accept details for about different items. I just want the total cost to be displayed in a box at the bottom before the form data is sent to me.
Can anybody point me in the right direction of how I might go about this? Tutorials / sample code etc.
View 8 Replies
View Related
Jun 9, 2009
Just wondering if someone can point me where I can get the coding for the same style navigation on [URL]..I know its not flash, but I'm guessing its done by javascript?
View 1 Replies
View Related
Feb 28, 2011
What is the secrets or tricks of coding an enlarge thumbnail code? This is what I came out with so far...
<script language="JavaScript">
function enlarge(target)
{
[code]...
I would like to do the enlarging effect like this,[URL]
View 2 Replies
View Related
Sep 22, 2011
Coding of java script coding for watch implementation in our website.....
View 1 Replies
View Related
May 22, 2006
When I change some JS code I often want to find all the files it might affect. To do this it is easy to search the directory containing my files with Windows Explorer.
But it appears to find only words that would appear on the webpage, and even HTML coding. But it doesn't find JS coding IF the file name ends in .html.
If I change the suffix to .js or .txt it finds the JS coding, but it's not practical to change the sufix of so many files for such a search.
View 6 Replies
View Related
Jan 7, 2010
I have to debug the error for eleave system for a company. when i do the testing i define that having an extra day for the service length at the system. i don't want you to settle the problem for me, just tell me where can i find the source to know where is the problem? at least i know where the souce it, so i can repair it.
View 1 Replies
View Related
Jun 2, 2011
How to extract javascript coding from a html file?
View 1 Replies
View Related
Apr 1, 2010
In my JS file, I made sure to write the necessary html code for a menu using document.write statements (I call the JS file inside a div in my webpages).I know about escape sequences and I put backslashes before every special characters but my menu still does not appear. Maybe only a simple character is missing. The code do work when I write it directly in my html so there should be no errors in the code itself. Must be in the way I put it in my JS file.
View 1 Replies
View Related