JQuery :: Use PHP To Display Project Gallery?

Mar 19, 2009

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


ADVERTISEMENT

Get Corresponding Project Name From Project ID In Database?

Jul 12, 2010

I have a drop down box that selects a project name. This is then taken to a javascript function that is supposed to fill in a read-only box with that name, but instead of filling it in with the project name, it fills it in with the project ID, which is how the sql database is set up. Each project has an ID, a name, and other values. Is there a way I can get the project name given the project ID in the javascript function?

View 1 Replies View Related

Rel Attribute Value - Get A Gallery Of Images To Display In The Thickbox?

Apr 18, 2009

In the doucmentation I'm reading that images in the same gallery need to have the same rel attribute value. But when I do that only the loading animated gif will show on top of the overlay. If I take out the rel then each image will display in a single thickbox. How can I get a gallery of images to display in the thickbox?

View 13 Replies View Related

JQuery :: When Click On The Gallery Thumb It Should Open The First Photo In Fancybox And Browsing Through The Gallery Should By Peanuts?

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

JQuery :: Use API In One Of Assigned Project?

Aug 1, 2011

I would like to use JQUERY API in one of my assigned project. I am looking for open source API only, please suggest me if I can go for JQUERY or not..?

View 2 Replies View Related

JQuery :: Implementing Next To Last Selector For Project

Mar 18, 2010

I need to implement a next to last selector for our project. I came up with the following code:
jQuery.expr[':'].next_to_last = function(obj, index, m){
var $this = jQuery(obj);
return $this.find(m[3]).last().prev();
};
Is there any problem with this implementation?

View 13 Replies View Related

JQuery :: Proper Way To Override Css For Project

Aug 10, 2011

Very new using jQuery. Anyway, I have the following few lines which create a component on a web page.[code]...

Upon some analysis, I can see that the css does contain the styles used by my div. So now, I would like to change the colors of the component, but I am not sure what is the best practice. Can one override in the div tag the colors, or should one duplicate the .css and change it?

Seeking the best way to perform this that other in the group use.

View 2 Replies View Related

JQuery :: Using It In A Project To Create Igoogle Panels?

May 6, 2010

what is "div.ui-sortable"Im using it in a project to create Igoogle panels.

View 2 Replies View Related

JQuery :: Menu Works On Sample Html Page, But Not In Asp.net Project?

May 3, 2010

OK, so jquery code works fine on a sample test html page. However, when I try to execute the exact same code in my asp.net project, it does not work. I have included the scripts and the paths are correct so it has nothing to do with that.

$(function(){ $('ul.jd_menu').jdMenu({ onShow: loadMenu //onHideCheck: onHideCheckMenu, //onHide: onHideMenu, //onClick: onClickMenu, //onAnimate: onAnimate }); $('ul.jd_menu_vertical').jdMenu({onShow: loadMenu, onHide: unloadMenu, offset: -1, onAnimate: onAnimate}); });

That is the section of code it gives me an error on, it says " Object doesn't support this property or method"

Also, even before I run the project, I have a warning in my error list box that says: Error updating JScript Intellisense (C:~~~blah blah jquery-1.4.2.min.js

View 7 Replies View Related

If... Statement - Automatically Display The Sublinks Under The "gallery" Link?

Sep 16, 2011

I have a navigation link ("galleries") that 'onclick' displays a sub-menu of other links (the specific galleries).
This is on the home page of my site.When a user first views the home page, the sub-menu does not display, until they click "galleries".

On other pages of my site, the "galleries" link is one of the options in my navigation. That link takes users back to the home page which is what I want it to do.But what I'm looking for to happen is if the user is directed back to the home page from within another page on my site, I'd like the link on the homepage to automatically display the sublinks under the "gallery" link.This is so that users don't have to click "galleries" twice in order to see the submenu.

For example: If a user is on the 'about me' page, in the navigation there is a 'galleries' link. If they click it, it takes them to the home page. They would then have to click on 'galleries' again on the home page in order to display the sub-menu of individual galleries.I want them to show up immediately, but only when directed back to the home page from within my site. I think I do that with an 'if' statement, but I'm not sure of the syntax.

View 3 Replies View Related

Making A Simple Image Gallery - Combine Two Galleries - Make One Gallery That Contains Both Kinds Of Links?

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

Project - Odd Or Even Numbers

Oct 20, 2011

My assignment for my programming class is to create a script using JavaScript that asks a user to enter a number in a pop up dialog box on their browser, and then tell them if they entered an odd or an even number. This is what I have come up with so far, whenever I test it on a browser it says that every number is even.

[Code]...

View 7 Replies View Related

Drag 'n' Drop Project

Jun 27, 2006

Here is a small test for all those hardcore JavaScript programmers. Is it possible to drag'n'drop a text/image element (eg. A or IMG tag) from one (I)FRAME to another (I)FRAME. This is easy & possible with IE's proprietary ondrag events. However the question is, is there a work-around using standard W3C/Firefox onmousedown, onmouseup, etc. events only? Code:

View 2 Replies View Related

SetTimeout Not Firing In WebGL Project

May 1, 2011

I am creating a particle system for WebGL and have created a class to generate individual particles. Since I wanted to control the rate at which these particles were generated, i put a setTimeout function to recall the method at a given rate. However, the setTimeout never fires and loops. I was wondering if anyone could help me. BTW the javascript has been designed to mimic OOP, so its kinda of a weird setup [code]...

View 4 Replies View Related

Calculate The Total Time Worked On The Project?

Nov 16, 2011

There are two text boxes in a HTML form.The first text box takes the time when the user starts to work on a project. The second box takes the time when the user stops working on that project.Now, I would like to calculate the total time worked on that project for that user. That is (stop time - start time). I tried few things without success.

View 4 Replies View Related

Exploring 3D Project - Drag And Drop App Viable?

Nov 9, 2010

I would like to explore a project using javascript . The project is kind of similar to the 3D Room feature on mydeco [URL] and click on 'Design a 3D room' (about a third of the way down the page). The application allows the user to position 3D items in a 3D room as well as viewing that 3D room from two additional angles. I would like to create something similar but for a different use.

Basically it would have similar features as the 3D room but with the following differences:
- There would be no 3D elements/images. All would be 2D.
- The 3D room builder has a panel on the right which allows users to navigate to images via categories. My app would still have the right hand panel, but the images would be 2D
- The rest of the window would just have a single main 2D image in it.
- The user would drop/position 2D images from the right hand panel, on to the main 2D image.
- There would be no need for additional views or for any rendering of images.
- It would have the other functionality at the top of the window such as save, share, undo, redo etc. An additional function would be needed to allow the user to adjust images to be 'above' or 'below' other images.
Also, is there any reason this app opens in a new window instead of running on the website itself?

View 1 Replies View Related

Creating Popup Window For Website Project

Jan 7, 2009

1. the 1st popup should open automatically and open a URL 1
2. then after 30sec the popup should close
3. then 2nd pop up window should appear and open URL2
4. then after 30sec the popup should close and so on

can any body help me with this please. I really need it.Or it can be like this also,The 1st popup should open automatically and open a URL1 then, after 30sec it should open URL2 and after 30 sec open URL3 and so on in the same popup.

View 2 Replies View Related

Creating A Class That Draws Triangles For A Project

May 6, 2010

I'm creating a javascript class that draws triangles for a project I'm working on (none of the other vector solutions for triangles were satisfactory so I'm writing my own).

Anyway here is a small snippet of code:

Code:

The idea of the code is to create a small div in the middle of the triangle that a user can click on, pretty basic stuff.

Problem with highlighted code is, on their own they work, together they dont.

IE, if I only set the LEFT of the div, it moves across the screen to required position.

If I only set the TOP of the div, it moves down the screen to the required position.

But BOTH together (as above) just make the div dissapear somewhere. Weird.

View 10 Replies View Related

Random Quote Generator Script (For Uni Project)?

Jul 19, 2011

I have to create a website as a project for my university course. Said course has nothing at all to do with computers really so it's really throwing us into the deep end as the majority of us have/had no interest in this particular field.

Regardless, I am creating a website that uses the Random Quote Generator Javascript that I copied from the Hotscripts website. The code details are below and my question is: is there any way I could change the formatting for each quote? For example, change quote 1 to be, say, yellow or bold and change quote 3 to be aligned right and blue? I mainly want to change the colour for each quote but having any other info on how to format it would be really helpful.

var quotes=new Array();
quotes[0] = "This is quote 1.";
quotes[1] = "This is quote 2.";
quotes[2] = "This is quote 3.";

[Code]...

View 3 Replies View Related

Using JFlip Plugin - Intergrate A Book That Pages Flip Into A Project

Oct 1, 2009

I'm trying to intergrate a book that pages flip into a project I'm working on. For this I am using JFlip a plugin for jQuery.

As seen here: [url]

However two problem's I'm running into are

1. The Transparency goes really strange when I flip the page.

2. I have no idea how to set a setting to let me know what page the user is looking at.

Main Page:

JFlip:

View 5 Replies View Related

Beginner Project: Chrome, Use Of Eval(), Detecting Window Size?

Jul 21, 2009

I have done some ugly hacking in JavaScript before but nothing serious. Now I have decided to learn the language properly, so yesterday I threw together a function plotter that you can see here: balazsbotond dot hu/plotterThe script is here: balazsbotond dot hu/plotter/raphael-test.jsI use Google Chrome as my primary browser. My script works perfectly in every other browser (IE6, IE8, FF, Opera, Safari), but there are some problems in Chrome. Some functions do not work at all (exp()), some do not always work (sin(x) works, x*sin(x) works sometimes, 0.7*x*sin(x) never works). Since I am new to JS and this seems to be a very subtle problem, I have no idea where to start.

I have read that the use of eval() is not recommended because of performance and security reasons. erformance is not a problem here (eval is definitely better here than writing my own expression parser), but what about security? Did my use of eval introduce a security risk in my site (I find this quite unlikely because the whole thing runs on the client side but who knows...)?By the way, is there a way to detect if eval() was not successful?And finally, is there a reliable, cross-browser way of getting the client size of the window? I'm talking about the size without the title bar, toolbars, etc. My solution does not work in IE6 and IE8.

View 5 Replies View Related

Dropdownlist Project (remove Item , Add Item)?

Jun 16, 2011

i have a Drop down list with 10 choices (skillset). users must choose one skillset and the corresponding level (beginer/intermediate/master). ( they have to do this 10 times for all the sillsets) what i want is :

1 - i need to show up only one record (dropdowanlist) with level then have a button to add new skill and level if required 2- then when they choose the 1st skill from the dropdown , this one will not show up on the 2nd choice dropdown.

View 15 Replies View Related

JQuery :: If Radio Button Checked Display Div #something Else Display Nothing If Unchecked?

Mar 19, 2011

if radio button checked display div #something else display nothing if un checkedcurrently I have this and it works but when I click another radio option the div that was activated before stays there. Want a div to show only if certain radio button is checked and if not checked to hide.

$(function(){
$('#offer_2').click(function(){
$('#total2').show();

[code]....

View 4 Replies View Related

JQuery :: Gallery Fade In And Out?

May 14, 2010

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 Related

JQuery :: Gallery Direction

Sep 22, 2011

jQuery gallery direction

View 1 Replies View Related

Jquery :: Can't Add More Than 13 Pictures To Gallery

Oct 27, 2011

I 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 Related







Copyrights 2005-15 www.BigResource.com, All rights reserved