It is based on the use of the Picassa API as described at[url]...- I have managed to get the images in from Picassa and have done some styling, it is based on a css image gallery that shows the large version of each image in a separate part of the screen.[code]...
I have a javascript that loads images on the page based on the date you select from a drop down menu. So the images are displayed dynamically, however they are numbered 1 through 20.Is there a way I can add a title tag to the images that will display on mouseover?Here's the page I am working on. I want to add title tags to the six images on the right side of the page. They change based on the date selected.
I am trying to combine the centering of the images. I get for the image title "undefined" If I remove the <div id="slide">...</div> the titles display normally.
This page: [URL] seems to indicate that it's possible, but it looks like it also pops up an alert window which would be annoying as hell. Is there a way to, say, once every minute change the title bar text?
You see I have a text file of rotating slogans that appear each time you reload a page on my site and someone suggested that having them change even when the page is already open might be fun. I thought I'd look into it and see if it's possible. The site is [URL]
I don't know enough about javascript to know if this is possible. I am fairly good at implementing and installing other people's code, though, and can usually make minor changes to tweak things.
I have a very simple problem for you to solve. It's not simple for me but it's probably very easy to you guys. I've tried searching this but failed.
Anyway, here is my problem. I have an image. When I call a function with onclick, I pass the image's id. My problem is that when I click the image, it displays "undefined". It is supposed to display the value of the image. It works perfectly fine in internet explorer. Its firefox that's giving me the problem. Can you guys give me the code for firefox so I can adjust? Please tell me why it won't work also. code...
so the story is that i using and IFRAME in my web site , and i want the main title of the document (which appears in the browser title bar) to be the title from the iframe 'page' . my English is not so good so i 'll give an example .
I am looking to use a similar method as facebook chat does, where it alternates between the original title text and 'friendsName has sent you a message!...'
At my day job, we use a cms that generates really terrible <title></title> tags that are killing our SE rankings.
Instead of taking the title of the piece of content and putting it in the title tags, it uses the name of the page template.
I first attempted this with jquery, but i'm looking for something that will basically just take <title>template name</title> and replace it with something friendlier.
I'm pretty new to Javascript and I'm trying to build a form which gives a configuration for a product. It consists of 5 drop down menus and each value in the drop down needs to have an image, a price, and a rule attached to it. The image sits above the drop down and changes with the selection, the price adds to the option prices selected in the other drop downs and give a total, and the rule affects what options are available in subsequent drop downs. I've got all of these working separately but can't get a single value to have all 3 functions.
I have a simple HTML form which has checkboxes next to images. What I want to do is select one or more images press submit and on the next screen show the images which had checkboxes selected.
I can pass the values of the images across to the page via post but how would I declare the id into img name as the above example is hard coded?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
[Code].....
what I need is set an image title with given index (1)withvalue of span with given index (1). I tried some laborations with gt(), index(), but there is no success.
I want to apply an attribute only to the li tags which do not contain a UL, and I'm having a hard time writing the statement. It should look something like this:
I would like an event to trigger a change the style of all the elements that belong to some CSS class.
I know it is possible to change the class of an element, for example with:
<script language=javascript> function changeclass() {document.getElementById(id).className="class_id";} </script> <input type=checkbox onclick="javascript:changeclass()">
But this can only change one element. I would like to change the "property:list" pairs of a CSS class, so that changes can apply to more than one element.
I'm trying to get width() and height of $("#slideshow_container img") which is what is loaded from 'content/slideshow' however it seems that the img are not loaded in time for thecompletefunction run, however the html etc is. I need to just add$("#slideshow_container img").center() but every time i do it the width and hieght of the img are 0 but the img elements are in fact there
i had to include the script for this div in the request because when i don't do that the script does not apply on the div.is there a way to make it apply without the need to refresh it ?in other words how to make scripts apply on newly updated content. because i noticed they don't
I'm just trying to use a JavaScript form element handler to apply a CSS gradient background dynamically. It doesn't work in IE, but does in the other browsers I've tried.
Here's my function
function swapGradButton() { g1 = document.getElementById('ButtonGrad1Color'); g2 = document.getElementById('ButtonGrad2Color');
I've been looking around all day for a script that would detect the height of one div (can't be predefined because of dynamic text content), and set a second div as that same height.
I am using jQuery to dynamically style my pages. For example, I prepend icons to certain headings or make links with certain id's perform AJAX operations. I am performing or binding all of this in the document.ready function.
Sometimes I am opening a popup window which basically displays another page. Now, I also want to apply my styling function to the new elements within the popup. What is the best way of doing this? Sure, I could just call all the styling functions for the whole document again after opening the popup, but is there "cleaner" way?
If you try out the code, you will see 2 buttons. Either button downloads content into the page using ".Load". You can try clicking on either or both buttons. The problem is that I want the color of loaded content to match the color of the button. To do this, I set the css of the loaded content to be that color. This works very briefly, and then its covered up again by the default color, which is black. It is as if the browser loads content, applied my css from my css code, and then makes another pass and applies the default css. But of course Idon't know for surewhat the browser is doing. So there are 3 web pages here. The first is the webpage that has the code. The other two are webpages have the paragraphs that he first page loads. The names of the pages are listed: So voila - first page (name is demoProblem.htm).
<!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" xml:lang="en" lang="en"><head><meta http-equiv="Content-type" content="text/html; charset=windows-1252" /> <title>Course page</title>
I have several images as thumbnails on my page and applied the 'changeImg()' function the onmouseover event. It then shows the thumbnail image as 'big' image at a certain position. It looks kind of boaring and it would be nice to apply jquery to have a nice effect problem: after quite some time I still don't seem to be able to integrate it into the existing javascript function.
I am having trouble figuring out how to correct this error, i think i have narrowed it down to what function is causing the issue, since once i comment it out, it doent give the error, but the code no longer does what its supposted to. Whats weird is that the code works how it should even with the error, but i dont want any errors even if they arnet effecting anything... well here is the code: