JQuery :: Gallery Refuses To Work
Apr 29, 2011look at my page with a jQuery gallery that refuses to work, however, it works perfectly on my local computer. View Page [URL] What is the problem, and how do I fix it?
View 1 Replieslook at my page with a jQuery gallery that refuses to work, however, it works perfectly on my local computer. View Page [URL] What is the problem, and how do I fix it?
View 1 RepliesI'm trying to code a website that will read data from an Excel file (stored either locally or elsewhere) and input a row of data (searched based on a Drop-Down List) into a table on the web page itself. Every time I open the page (it's currently stored on my local drive, on a laptop running Windows 7) in IE8, though, I get the error "Automation Server Can't Create Object" and nothing happens. The Excel file doesn't get opened and the table is blank. Thing is, though, I tried opening the same web page on another computer with IE6 and Windows 2000, and the Script works perfectly there.
I've been searching for a solution to this for a week, and some people suggested elsewhere that it's a problem with IE8's security settings. I lowered them as far as they'll go and enabled Running the Script Not Marked As Safe for all possible zones, same result, the Script refuses to run with the "Automation Server Can't Create Object" error. Here's the applicable lines of code:
function loadData() {
// try {
var Excel, Book;[code]...........
I'm completely stumped, everyone. Is it some obscure setting I'm forgetting to check in IE8, is my Java not fully updated, or what is it? Again, it works perfectly on my old Windows 2000 w/ IE6 computer, but not on a recent Windows 7 laptop with IE8.
I bought this gallery but does not work and I dont know why .... Anyone Can tell me What 's wrong in my singlepage? this is piece of my page html and the part of the gallery is in blu:
[Code]....
The function "setEqualHeight" fires on document ready and works well. It sets two columns to equal height. The problem is that I have tabs and accordions in the columns and therefore need to recalculate the column heights after the document is loaded: I try on click but nothing happens. Why?
This works fine:
This does'nt work:
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?
I am looking for a image gallery that will work where some photos are positioned horizontally and some are vertical. I hope it is possible. The photos are for an artist that I am working with. I hope someone will have an answer. It doesn't have to be fancy. Even a simple magnifyer would be fine. I guessed that javascript might be the most appropriate form.
View 3 Replies View Relatedgot an one that might prove interesting. I have a window that refuses to close in OSX/Safari 3.1 if it has any history.
Details:
I have an embedded flash app that offers links. These links will initiate a new window. I have little access to the working of the links, so I am assuming that they are using window.open and call the popup page.
So once the window is open, I have a link within that window to close it using an a tag that fires a js function which in turn uses self.close(); See code below. This works well in all cases. The problem comes into play under the following conditions:
1) Mac/Safari 3.1 (note that XP/Safari 3.1 does NOT produce the same issue)
2) Once the window is open, the user clicks a 2nd link from the Flash app, showing the selected html page and adding history to the popup window.
3) The user then tries to close the window, which now fails.
4) Any additional addition to the popups history yields the same results (as one might imagine).
I tried to use javascript to navigate back to the initial history point, and then run self.close. This sort of worked as I would revert back in the history stack with the first click, then the window would close on the second call to the close function. But I couldn't get it to work in one click. I did notice that adding an alert between the history rollback and the self.close() actually allowed this idea to work. So I tried a setTimeout, but did not have success. Seems like there's something there, but I guess I don't understand well enough to come up with the solution.
Code:
function self_close(){
self.close();
}
HTML Code:
<a href="#" onclick='javascript:self_close();return false;'>close</a>
So I got six textareas that are read-only.
Maybe I'm confused, but textareas support onFocus events, correct?
Furthermore, I've got a radio group that has an onChange event. Something like onChange="f(1);"
When a button is selected, the JavaScript function kicks in :
function f(n) {
var x = window.document.forms[0]
var y = new Array()
y[0] = 6
if (n == 1) {
x.text_field.value = y[0]
}
}
This should pop the number 6 into the text_field (which is a textarea), should it not?
Anyone here using Visual Studio 2008 to edit Javascript files? Wheneven I try to edit a .JS file (regardless of whether I've created it inside VS2008 or imported it), I get the tab with the file name, but the content doesn't update. I just see the contents of the previous tab, and if I type something, press save, rename the .JS file to something else and open it again, it turns out whatever I typed in is there.
If I "Open with..." the file, selecting source code editor instead of the default script editor, the file shows up fine, and I can work with it, but sadly without intellisense and color mark-up... Which sort of defeats the whole point of buying VS2008. I've tried the repair option from the VS2008 DVD, but no difference.
I'm using VS2008 v9.0.30729.1 SP1 on a swedish XP Pro SP2, tried restarting VS2008, rebooting etc, nothing helps. One workaround for me is to enclose the javascript in HTML "<script>" tags and renaming the file .htm and include it that way, but that's... ugly and ..
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.)
I'm having a little trouble with 2 differentJS scripts. I have a drop down slide menu and a parralex slide gallery. Both work on separate pages and puton the same page they still work however the submenu of the slide down menu does not. if I remove the style sheet that belongs to the gallery
Then the munu works, however (obviously) the page layout goes wrong. if i remove<h1 class="title">Alex Holland Perspective</h1> the menu works however page layout goes wrong andI loose my header
Here is the code.
Im try to built a web gallery with a rollover fade and text colour change. So when you rollover a thumbnail all the other thumbnails fade to 0.4 opacity and the one have rolled over stays at 1 opacity.[URL]..
View 2 Replies View RelatedjQuery gallery direction
View 1 Replies View RelatedI implemented the plugin of jquery.cycle.all.min.js as suggested in a previous thread by Sitepoint users but now it appears, I can't add more then 13 pictures to the gallery. The gallery works with over 13 pictures, but the prev/next buttons don't appear anymore and don't work. So I was wondering if anyone knows the explanation and solution for this?I rechecked everything and I've got it on multiple pages that over 13 pictures you can't press or see the next/prev buttons!
View 4 Replies View RelatedI was just hoping that someone might be able to point me in the right direction of what to use? Or if it is even possible - I have seen many galleries but not one quite liek this - but surely it must be doable?
View 1 Replies View RelatedI am currently trying to create a thumbnail gallery that when you select a thumbnail, it loads associated thumbnails specific to that image for alternate views. I have the base of the thumbnail gallery created (click thumbnail + view larger image). I am however having issues getting it to load the associated sub images. I have the default one working for when the page is initially loaded, but it is not properly swapping out the urls for the new images, so it always uses the same three sub images.Here is the jquery code I am using:
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
[code]....
I'm rather new toJavaScriptand have spent all day trying to figure out how I can make this possible by examining others code but to no avail. I've finally bit the bullet and come to ask for some help.
I'm making a website for a friends photography and have managed to get a thumbnail gallery working as you can see here[URL]...The problem is I have no idea how to get get the prev and next links working. I have tried countless searches for the best part of the afternoon looking for a solution but mostly all I seem to uncover is lists ofpre-madegalleries andcarousels.
It would be fantastic if someone could point me in the right direction just to simply get these links incrementing and decrementing based on the image that is loaded.
As in topic. I have dynamic gallery containing just 3 elements:
http:[url].....
Problem occures when image is clicked another time(you have to click quick to see the problem) before end of animation. I think that preventing it from being clicked would solve the problem but im not sure.
$(function() {
$('#gallery img').click(function() {
var zIn=$(this).css('zIndex'); if(zIn==3){[code].....
I have a site [URL] in which i display project thumbnails on the right, by clicking it, i want that project id to open it's project photos on the left without reloading/refreshing the page. (the data/photos comes from the database using php & mysql)I tried doing that with ajax's XMLHttpRequest, but i can't execute javascript through responseText.
View 1 Replies View RelatedDoes anyone know how I could integrate this jquery plugin into wordpress?I'd like to use wordpress for posts etc and then set up two pages within wordpress to act as galleries (using this jquery gallery on each page). I'm sure it'd be possible, just need some tips on how to go about it.
View 1 Replies View RelatedI was on mashable today, and saw their gallery on the new Facebook layout. Is there a pre-build jQuery library that does the same thing? [URL].
View 1 Replies View RelatedI'm trying to get use of the following JQuery example: Animated Boxes Example
So I wrote the following code trying to make a gallery from the example above:
The TestAnimeScroller.js Script is as following:
As you can see from the code above I'm using the webserive only for testing the scroller for ajax calls problems.It has only the Hello World default web method.
However every thing works fine except that the images are shaking abit whilescrolling to the left.I tried many things but it was no use.I prefer to make a scroller from scratch rather than use a plug-in so I could make custom things easily...I'm using Jquery 1.4.2
I have a problem on my website that I'm doing for a company, they have a Wordpress blog, and the blog page is set as a static home page, which is great. The problem is, the Atlantica theme puts a gallery on much of the blog, and worse, makes an even bigger gallery on the Home page (lucky me:-/). With some twiddling, I quickly figured out that I could just set the div "gallery" to "display: none" via CSS, and wah-LA! it disappeared..until 5 seconds later, when the error message "jCarousel: No width/height set for items. This will cause an infinite loop. Aborting..." continues to re-assert itself, provides an OK to out of the error message, and keeps pestering me again.
I know next to nothing about the format of JScript. I've tried if/then statements, but once again, I'm so new at this, that I haven't gotten that far. I'm a whiz at CSS, but Javascript is kind of kicking my tail.
Im simply trying to cycle back to the first picture of the gallery. Im on my 3rd day of trying to figure this out. I posted a link below.I checked the html code multiple times and the images and thumbs are in order. But after the 22nd pic, it brings up a broken link. The site is not mine, but my client wants me to use it as a template. Was originally going to do Flash...Hopeing this is a simple fix so I can avoid the embaressment[URL]...
View 1 Replies View RelatedI am trying to a setup a jquery based navigation for my photo gallery i.e something like facebook using hash url technique. I am using php and mysql in the backend. Is there any example I could look at for implementing it. The reason for using hash urls is that I would like to have an unique url for every pic.
View 1 Replies View RelatedI want to create an image gallery with one div holding all of my thumbnails (.thumbs) and the second div (which would be to the right of the thumbnails) would be an enlarged image of the thumbnail that you rollover (.enlarged). The enlarged image will be hidden, but when you rollover a thumbnail it will show that image enlarged in the ".enlarged" div. I am not sure how execute this, maybe use the title from the thumbnail? If you can show me an example of what the Jquery code would look like for that, or have a link to a tutorial or any help I would be greatly appreciative, thank you so much. The HTML code would looks something like:
<div class="thumbs">
<img src="img/image1_thumb.jpg" title="image1.jpg" />
<img src="img/image2_thumb.jpg" title="image2.jpg" />
[code]....