JQuery :: Script For Moving Background - Don't Work Lightbox Script For Pictures Of The Site
Feb 22, 2010
I have script for moving background:
It works normally - but don't work lightbox script for pictures of the site, so IE 8 write such: Object doesn'n work with prototype.js and mootools.js. CMS is a MODx, please, tell me how to make work this scripts correctly and together?
View 1 Replies
ADVERTISEMENT
Aug 2, 2010
I have a problem on a Wordpress website: I gave certain pictures (as elements of the layout) rounded corners with a jQuery plugin. Some posted pictures I want to load with Lightbox (or similar). I have used several different Lightbox plugins for Wordpress (Lightbox 2, jQuery Lightbox, Simple Lightbox etc. etc.) but none of them work. I got some weird version of GreyBox working but FireFox gives an error every time before opening it so that's real shady code. As you can see on this page is that I include jQuery for the rounded corners at first but then the Lightbox plugin automatically adds it's own version of jQuery and they cancel each other out. I know for a fact this is the problem because I 'lose' the rounded corners as soon as I turn ON the Lightbox plugin. Once that is turned off the nice rounded corners show again. I tried several different plugins, changing the order of the jQuery code around, making both the rounded corners plugin and Lightbox rely on one single jQuery statement. Nothing has worked so far.
View 1 Replies
View Related
Jan 24, 2005
The problem is that I wanted to do a web page where you can choose the characteristics that you expect your dog to have and on the next page the pictures of the dog should be shown. I did a questionnaire where the visitor can fill in the attributes of his dream dog. This is done in a selection field. The different values should bring the dog breed that can be taken into consideration. Additionally there should be a box to tick if something is absolutely necessary.
I made the site for this as well, but I don’t really know how to work the part out.
I hope someone can give me hint.
This is the part with the function. I only took one as an example:
<script language="JavaScript" type="text/javascript">
<!--
dtschaeferh = Image
dtschaeferh.scr="dtschaeferh.jpg"
function mobile()
var newWindow=window.open("", "mobilephonemarket")
if (document.forms.groesse.value<>"klein") ||(document.forms.famhund.value<>"15") ||
(document.checkbox.unbedingt_famhund.value<>"true") || (document.forms.HDfrei.value<>"15") || (document.checkbox.unbedingt_HDfrei.value<>"true")
{
return document.dtschaeferh.src="dtschaeferh.jpg"
}
newWindow = window.open("Hundevergleich.html")
mobileWindow.document.writeln("<html><head></html>")
mobileWindow.document.writeln("<body>")
//-->
</script>
This is the pull down menu:
<tr>
<td style="vertical-align: middle;"><a href="javascript:infofenster('groesse')"><img src="images/sp_info.gif" width=21 height=11 border=0 alt=""></a> Measurements</td>
<td align="center"><select name="groesse" style="width:100px;"><option value="klein" selected>klein</option><option value="mittel">mittel</option><option value="gross">groß</option></select></td>
</tr>
<tr>
<td style="vertical-align: middle;"><a href="javascript:infofenster('gewicht')"><img src="images/sp_info.gif" width=21 height=11 border=0 alt=""></a> Weight</td>
<td align="center"><select name="gewicht" style="width:100px;"><option value="15">sehr wichtig</option><option value="10" selected>wichtig</option><option value="5">egal</option></select></td>
</tr>
<center><input type="submit" name="submit" value="Finde Hunderassen"><input type="reset" value="Zurücksetzen"></center>
This is on the following page:
<body
<table><tr>
<td><img scr=““ name““></td>
<td><img scr=““ name““></td>
<td><img scr=““ name““></td>
<td><img scr=““ name““></td>
<td><img scr=““ name““></td>
</tr></table>
I hope someone can help me, because I am getting mad with this page.
View 2 Replies
View Related
Oct 2, 2009
I currently have a slideshow working on my client's site, but I can't get lightbox to work properly on it. [URL]...
Is there a way to fix the existing slideshow to work with lightbox? Or is there another way of doing this (keeping the same look that is currently in place)?
View 5 Replies
View Related
May 28, 2010
I have 3 background images, and 1 is picked at random to be the background image of the body when loading the page.My code is below. Right now it's just white, can't get any pictures to load. I have checked the URLs and they are correct.
[Code]...
View 1 Replies
View Related
Jun 6, 2010
i'm sure this is an easy fix, [URL] trying to get rid of the black background around the smaller pictures in the slideshow.
View 3 Replies
View Related
May 5, 2009
I have a product image that is 4 images 'sewn together' [url]
I am going to set a div called ProductImage and then have the background of the div set to this image, but with only the top image showing.
I then want to have a button for 'more views' and when this is clicked the background position shift to show the next part of the image showing a different view.
What is a suitable way to do this, I am hoping it could be done with a combination of css and javascript.
View 9 Replies
View Related
Dec 2, 2010
I have a rotating picture set up on my site, and I would like to have external links connected to each of the pictures. So far, the rotating pictures work fine, but there is no link to be found. Here is my code:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16720691-1']);
[code]....
View 1 Replies
View Related
Jul 6, 2011
I'm using rapidweaver 5, theme creami3 from [url].
This theme has jquery enabled.
I would like to use lightbox, however whatever I try it won't work.
Some test sites:
[url]
[url]
[url]
View 3 Replies
View Related
Feb 28, 2009
I don't understand why on earth with this
Code JavaScript:
$('a[@rel*=lightbox]').lightBox();
[Code]....
View 3 Replies
View Related
Feb 22, 2011
I'd like to make it possible to move the background of a site by clicking and dragging it with the mouse. So far I've only found flash solutions and I'd really rather not use flashIf anyone knows of any jquery code that is somewhat similar
View 1 Replies
View Related
Mar 7, 2009
I'm using lightbox 2.0 with Dreamweaver CS3 on Mac 10.4. I am trying to use lightbox with Dreamweaver's hotspots, so right now my code looks like this:
<area shape="poly" coords="209,232,273,224,280,286,219,293" href="images/ATlogo2.jpg" rel="lightbox"/>
I am only getting the gray background when I click on the link though, not the image. The image properly loads in a new window when the rel="lightbox" code is not added. I have tried testing it in Dreamweaver's preview on Safari, and uploaded to the web in Safari and Mozilla's Camino.
View 1 Replies
View Related
Jul 21, 2010
thereI have used two jQuery plugins on one html page - Cycle Lite and Lightbox. However, I can only get one plugin to work at one time. With the following code, Cycle Lite works but Lightbox doesn't.
[Code]...
View 2 Replies
View Related
Feb 17, 2009
I need to have a page wait till the entire thing is loaded before the user interacts with it. I would like for it to do a lightbox styled grey box over it or even something like plesk does where it fades out the background (same effect really) until the page has loaded
View 3 Replies
View Related
Jan 18, 2009
I'm using the original lightbox script, took the code exactly as it was given but it doesn't look like the demo: [URL] What do I need to do to put a background behind things like the caption and to give it a bigger boarder? Example here: [URL]
View 1 Replies
View Related
Sep 2, 2011
I need to add a Javascript advertisement as a background (skin) to a Wordpress site. The background image is included in the CSS so how do I change this for a Javascript code
View 1 Replies
View Related
Mar 3, 2010
I have form inside iframe. I want to copy form to parent window after user entered data and then submit. Everything works fine, except with file input. It seems impossible to move file input(after user selected file) to different form in different document (only ie7). Here is javascript code im using inside iframe to move form elements:
Code:
var parentForm = parent.document.getElementById('editGallerieFormParent');
parentForm.ordering.value = form.ordering.value;
parentForm.catname1.value = form.catname1.value;
parentForm.description.value = form.description.value;
[Code]....
View 3 Replies
View Related
Dec 17, 2009
I want to know how to change the background of my site to an image instead of a color using buttons.so far i have this code
<input type="button" value="Red" onclick="changeBgColor(this.value);" />
<input type="button" value="blue" onclick="changeBgColor(this.value);" />
<input type="button" value="Yellow" onclick="changeBgColor(this.value);" />[code]....
instead of changing the color i want to change it to an image, how would i do this?
View 3 Replies
View Related
Jan 8, 2012
I'm having problems getting this bit of code to work. It works when the page is on my local drive, but when I publish it online it doesn't. The code is exactly the same when local or online. The online WIP (that doesn't work) is here:The .load code is meant to load the caption text for the video and also some social media buttons. Like I said, this works just as I want when I open the html page from my local drive.Here is the code
<script src="jquery-1.5.1.min.js" type="text/javascript"> </script>
<script type="text/javascript">
$(document).ready(function(){
[code]....
View 5 Replies
View Related
Apr 19, 2011
I have a website at: [URL] The page works on Google Chrome, Mozilla Firefox, and IE-9. It sort-of works on IE-8, however, the problem is that on IE-8, there is about 2 seconds where everything is shown on top of everything else in a mess. This is bad.
The website is unusual in that it uses a menu to slide screens from right to left. This has implications. For instance, I need the menu to appear on all screens, so I use absolute positioning, and then use javascript to calculate the center position. The same goes for a logo image. And on top of that, some screens (which are really DIVs) have items positioned by absolute and relative positioning within them, and those positions are often calculated via javascript (and then set).
On IE-8, the result is not good. I think what is happening is that the browser first shows everything as it appears before javascript is run, and then slowly the javascript is run, which puts everything in the correct position. So initially, not only is everything in the wrong position, but different DIVs appear on top of each other.
View 1 Replies
View Related
Sep 1, 2010
I am looking for a upload form to upload pictures and then when the pictures are uploaded, then they get emailed to me. Kind of like a contact form but attached is the pictures.
View 1 Replies
View Related
Oct 28, 2011
Looking for a way to have background music play automatically when my site loads, with the music being randomly picked from a list of several songs.. So each time the page loads, a different song should play.. Can be JavaScript or Flash, whichever way works the best.
View 1 Replies
View Related
Mar 25, 2010
I am a systems analyst and network admin for [url].... We already have an exisiting site, which has JS. We now need to add a lightbox effect onload that will basically overlay the page in grey and focus on a banner before you can access it. Thus, pushing everyone who visits to read a banner. I would also like to add an "x" graphic in the top right corner of the projected image to close the banner and return to veiwing our site.
View 1 Replies
View Related
Apr 20, 2009
I implemented on my custom cms ajax pagination for my content. In that content ofcourse there are some images inside and after adding ajax pagination lightbox pop up effect doesn't work. I suppose that the problem is in javascript method in head block of my page which is following
HTML Code:
<script src="ajax_req.js" type="text/javascript"></script>
<script>htmlData('pagination2.php', 'page=1')</script>
and I call lightbox scripit
[Code]....
View 1 Replies
View Related
May 29, 2010
I have to following jquery lightbox code:
<script type="text/javascript">
$(function() {$('#largerview a').lightBox({
fixedNavigation:true,
[code]....
View 3 Replies
View Related
Dec 22, 2010
I have a page on a website I am creating that has both a lightbox rel link and a quick calculator to work out a size of a product.Here are the links to the java files I am using:
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/jquery.lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="scripts/jquery.js"></script>
[code].....
View 1 Replies
View Related