Fitness.com
Advertisement

Go Back   Sports Forum > Community > Graphics > General Photoshop Board

General Photoshop Board

Topics cover anything to do with Photoshop outside of those forums below.


» Site Navigation
 > Shop
» Current Poll
Best 5 club teams in history of Football:
Liverpool 1977-1978 - 100.00%
1 Vote
Real Madrid 1956-1960 - 0%
0 Votes
Juventus 1985 - 0%
0 Votes
Milan 1989-1990 - 100.00%
1 Vote
Ajax 1971-1973 - 0%
0 Votes
Santos 1962-1963 - 0%
0 Votes
Torinho 1940's - 100.00%
1 Vote
Ajax 1995 - 0%
0 Votes
Flamengo 1981 - 100.00%
1 Vote
Benfica 1961-1962 - 100.00%
1 Vote
Total Votes: 1
You may not vote on this poll.
» Stats
Members: 103,356
Threads: 84,986
Posts: 1,031,253
Top Poster: Karky (9,545)
Welcome to our newest member, ankkaewrae
» Fitness Shop
If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.

Reply
 
LinkBack Thread Tools Display Modes
Old 07-29-2004, 05:57 PM   Two Javascript Related Questions Post #1
Guest
 
Posts: n/a
Default Two Javascript Related Questions

Perhaps someone can give me some insight and help me to regain my sanity. I am trying to update my work website which has been up since Feb. My boss wants me to add some dynamic content, which I haven't been able to figure out.

Let me preface these questions by letting you know that this is the 2nd website I have constructed and the 1st to actually be published to the web. I have limited knowledge of HTML and Javascript, and have been figuring it out as I go along. Here is the website url and the two issues I'm facing.

http://www.idesigninspiration.com

1) From the "Product Solutions" page, enter into the body of the portfolio by clicking on any product link. There are two orange arrows at the top right corner of the "slide negative" box where the product image appears. Currently, when you click on one of the two arrows, the entire page reloads to show the next picture. What I need is for only the image in the picture area to change when an arrow is clicked. I have found Javascript that allows me to do this, but the next part throws a kink into things.

Once you have clicked the right arrow and the image changes from "Image01" to display "Image02", when that same arrow is clicked, the link should take you to the next product in the portfolio, which would then reload the page.

The question I have is this: Will Javascript allow you to click a link and only change the image, then click that same link and go to a different page altogether?

2) I'm also looking for the following effect. Say I have the logo Cage Light in a circle in the center of the page. I want to have light follow the mouse where the light rotates about a central axis and the bottom of the bulb points in the direction that the mouse travels. The end result is that that whenever you click on a link, the light is facing that direction and can activate to shine on the link in the same way as the site intro page.

If anyone can provide any insight or advice to these problems I would greatly appreciate it. I'm trying to please the boss and keep from drowning during the process. Thanks in advance.

Dubya
  Reply With Quote
Old 07-29-2004, 10:57 PM   Two Javascript Related Questions Post #2
Registered User
 
Join Date: Feb 2004
Posts: 11
Rep Power: 0
The Coach is an unknown quantity at this point
Default Two Javascript Related Questions

Sorry Dubya, I don't have the answers, but I do want to make a remark. It's the fact that this web site doesn't support 800x600 resolution. Not that I mind (I use higher), but please don't ignore the fact that 37% of your visitors will use a resolution that is 800x600 or lower;

http://www.w3schools.com/browsers/browsers_stats.asp

Ok, this wouldn't be too bad for a hobby site, but this company wants to make money right? Now let's say that I use 800x600 as a customer. I want to look at the products so I click on the appropriate links. Look at my attachment (click on it to see a larger version) and look at what the customer is seeing (bottom 800x600).
Not only does the page not fit in the window, also the arrows are outside the window. What do you think the reaction of the customer will be? See, the customers will not mind to scroll sideways once, but several times...
To put it all in perspective; 37% of the customers will be frustrated. In my opinion it's not wise for any(!) company to ignore a percentage like that. My point is, it's nice to try to make it all flashy, but functionality should have a higher priority, at least that's my opinion.

Just my $0,02 Dubya, spend them the way you want to spend them
The Coach is offline   Reply With Quote
Old 07-30-2004, 02:46 PM   Two Javascript Related Questions Post #3
Newb
 
Join Date: Jul 2003
Posts: 12
Rep Power: 0
Blinky2004 is an unknown quantity at this point
Send a message via ICQ to Blinky2004 Send a message via AIM to Blinky2004
Default Two Javascript Related Questions

Just a quicky note Dubya, i'm just on my way to bed now. I'll address your javascript questions later on. This evening most likely. Just so you know, both of your problems have solutions.

Wanted to add something to Joe's notes... to make your site 8x6 compatible, make sure the maximum width of all the page content (which simply means the main table, or CSS code) is set to 760px. That should allow for Macs also. :B
Blinky2004 is offline   Reply With Quote
Old 07-30-2004, 10:04 PM   Two Javascript Related Questions Post #4
Guest
 
Posts: n/a
Default Two Javascript Related Questions

Thanks for your input guys. Mark, I'm glad to hear that what I'm attempting can indeed be done. JoeD, thanks for the link to the stats and the info. We discussed this issue when we put the site up, and finally settled on the larger size. I'll let the boss know the info you provided which will probably result in some changes (yay! I have something to do next week. [righton] )

Later,
Dub
  Reply With Quote
Old 07-31-2004, 09:28 AM   Two Javascript Related Questions Post #5
Newb
 
Join Date: Jul 2003
Posts: 12
Rep Power: 0
Blinky2004 is an unknown quantity at this point
Send a message via ICQ to Blinky2004 Send a message via AIM to Blinky2004
Default Two Javascript Related Questions

Dubya...

Ok first off to address your second question...
You'd be hard pressed to make that effect happen without using Flash. It can be done, but at a file size cost. It would be somewhat clunky using the normal image replacement script method, because you'd have to be sure that you preLoad all the images. And if they're not loaded when the user hovers over a link, the whole show comes to a hault.

And for your first question...
Here... checkout this link: http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=7069
It explains and provides the code needed to perform the effect you're after. I used to have tons of these types of scripts, but lost them all with my HDD crash awhile back. I've tested this one though and it's pretty good. The only browser that doesn't seem to render the effect is Opera (i used v7.5). Can't figure out why though. There's nothing THAT complex about the scripting.

In the code that the author provides, are blocks or instructional comments. Follow them and you shouldn't have any worries. Use a html editor to view the code.
Oh but one thing i'd suggest... use an iFrame to house the code he gives you. i.e. Insert an iFrame into your page where the effect will take place, them dump his code into a new html page. Point the iFrame to that html file. Everything else will take care of itself.

If you're not sure what the iFrame code should be, use this:
Code:
<iframe src="slideshow.html" width=300 height=200 marginheight=0 marginwidth=0 frameborder=0 scrolling="no"></iframe>
Change the height/width though to match your images.

PS: Don't be afraid to sub out his html arrows for your images if you like. So long as you leave the scripting intact for those links, it'll work just fine to use images instead.

Any questions/problems feel free to ask. :B
Blinky2004 is offline   Reply With Quote
Old 08-05-2004, 06:45 PM   Two Javascript Related Questions Post #6
Guest
 
Posts: n/a
Default Two Javascript Related Questions

Hats off to you for your help, Mark. Sorry my response has been so delayed. I've been busy with other work related stuff. I'll give this a look and see what I can do with it.

On the Flash thing -- I figured we might have to go that route, so I'll study up on it too.

Later,
Dub
  Reply With Quote
Reply

Go Back   Sports Forum > Community > Graphics > General Photoshop Board

Bookmarks

Thread Tools
Display Modes


Similar threads to Two Javascript Related Questions
Thread Thread Starter Forum Replies Last Post
3 FMH time related questions
3 FMH time related questions: Question 1- After start up how long does it...
Birger Jarl Football Manager 2 01-07-2008 11:41 PM
A few quick car-hire related questions
A few quick car-hire related questions: Myself and a mate are going to Florida next year...
Becks The Pub 7 11-02-2007 05:00 AM
Javascript plugin
Javascript plugin: Tried to use Browse in the File menu of Adobe...
limey General Photoshop Board 3 09-16-2007 09:16 PM
How to Check the FlashPlayer Version using JavaScript
How to Check the FlashPlayer Version using JavaScript: I'm able to detect if the flash player for IE is...
Evil Nemesis General Photoshop Board 3 02-07-2005 11:30 PM
Questions related to the use of our forums
Questions related to the use of our forums: Revised: Wednesday, July 5, 2006 This...
General Photoshop Board 0 10-13-2002 08:43 PM

More threads of dubya
Thread Date Forum Replies Last Post
Return of the Fodderizer!
Return of the Fodderizer!: Hey guys, I haven't seen any cannon fodder...
05-13-2005 General Photoshop Board 0 05-13-2005 02:41 AM
Two Javascript Related Questions
Two Javascript Related Questions: Perhaps someone can give me some insight and help...
07-29-2004 General Photoshop Board 5 08-05-2004 06:45 PM
Dazed and Confused
Dazed and Confused: Hey all, I remember seeing a technique in a...
06-10-2004 General Photoshop Board 4 06-10-2004 01:57 PM
Web Page Help Please. . .
Web Page Help Please. . .: I've recently designed my first web site and I'm...
10-11-2003 General Photoshop Board 6 10-12-2003 01:06 AM
Vector Confusion
Vector Confusion: I recently acquired some freelance work doing...
08-25-2003 General Photoshop Board 3 08-26-2003 11:05 AM

Other threads in forum General Photoshop Board
Thread Date Thread Starter Replies Last Post
Ronaldo vs Milan AC
Ronaldo vs Milan AC: C.Ronaldo vs Milan AC ...
05-03-2007 sevan 4 08-11-2007 12:44 AM
Trouble With Brushes
Trouble With Brushes: Hey im bad a t photoshop just got it... ...
07-09-2007 GC*2oo7 0 07-09-2007 02:50 PM
Flower
Flower: hi guys i have here one of my works
06-13-2007 julievive 2 06-13-2007 03:55 PM
tech advice please
tech advice please: I purchased yet another computer yesterday. No...
05-02-2007 ronmatt 5 05-04-2007 12:04 PM
Caps stuck!
Caps stuck!: I've never had this happen before, but in PS I...
06-21-2005 p?tr? 3 06-21-2005 07:23 AM

» Online Users: 32
0 members and 32 guests
No Members online
Most users ever online was 2,128, 07-21-2008 at 08:27 PM.

All times are GMT +1. The time now is 05:16 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Fitness.com | Weight Loss | Training & Fitness | BodyBuilding | Chinese | Spanish | French | Germany | Italian | Friend Codes |
You are viewing Two Javascript Related Questions.