ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 6th, 2006, 09:03 PM
freaktroll freaktroll is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Posts: 47 freaktroll User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 35 m 13 sec
Reputation Power: 3
Dynamic image swap

Are these possible in coldfusion? Im having trouble using javascript with my dynamic images. Basically, it looks like on the swap, the dynamic info (from the SESSION in my case) is lost or trunkated.
eg.

Orignial code:
<img src="images\final\#SESSION.insert.dID#\#SESSION.insert.photo1#" name="main" id="main"/>

As displayed before javascript swapimage:
<img src="images/final/111/111b.jpg" name="main" id="main">

As displayed after javascript swapimage:
<img src="images%0CinalIIb.jpg" name="main" id="main">

Everything is fine before the swap and then things get wierd. I also noticed that some of the paths show up as final/111/....
and others show up like %5Cfinal%5C111%5Ct111b.jpg
Could that be the problem, and if so how do i remedy it?

Reply With Quote
  #2  
Old March 7th, 2006, 12:55 PM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,742 kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level)kiteless User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 20 h 59 m 14 sec
Reputation Power: 62
Not sure what the error is, but I can assure you that you can use Javascript image swapping in a CF page.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Dynamic image swap


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT