# Javascript from Image Ready to Dreamweaver

**URL:** <https://forum.kirupa.com/t/javascript-from-image-ready-to-dreamweaver/26997>\
**Category:** web dev\
**Created:** [July 29, 2003, 4:16am UTC](https://forum.kirupa.com/t/javascript-from-image-ready-to-dreamweaver/26997 "2003-07-29T04:16:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)\
**Post date:** [July 29, 2003, 4:16am UTC](https://forum.kirupa.com/t/javascript-from-image-ready-to-dreamweaver/26997/1 "2003-07-29T04:16:20Z")

</div>

I did a mock up site using photoshop, and created all the slices in image ready as well as the roll-overs therefore creating the javascript through Image Ready.

Lets just say my table created by photoshop/image ready was 600x300.

Now when taken to dreamweaver the javascript reamins and all works fine.

Now in dreamweaver i have created a new table 100%x100% and i want to place my other Image ready table inside it so its always centered in the browser vertically and horizontally.

But soon as i place the 600x300 table inside the 100% width and height table the javascript created in image ready doesnt work.

Is there a way to maintain the javascript from image ready?

I konw i can do it in DW through behaviours but thats not the point!  
I want to see if u can maintain the javascript from Image Ready.

:whistle:

thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 8:52am UTC](https://forum.kirupa.com/t/javascript-from-image-ready-to-dreamweaver/26997/2 "2003-07-29T08:52:58Z")

</div>

Well, I use Fireworks not PS, but  
there can be a command in Image ready to export code, like there is in Fireworks. Then you can just paste it (It should also paste the images and rollvers etc… ) in dreamweaver and, ta da!

If you have FW, you can always open it there… and then export to Dreamweaver (I THink) \<\<better double check…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2003, 3:51pm UTC](https://forum.kirupa.com/t/javascript-from-image-ready-to-dreamweaver/26997/3 "2003-07-29T15:51:45Z")

</div>

Are there rollovers in the other sliced image? Typically, in ‘slicing’ programs like that, they identify names for each image and since you are doing this 2 seperate times, there is a possibility that the same image ‘name’ is being used 2 times. If that is the case than your javascript rollovers won’t work.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 3:29am UTC](https://forum.kirupa.com/t/javascript-from-image-ready-to-dreamweaver/26997/4 "2003-07-30T03:29:55Z")

</div>

so u think by renaming them it might work?

RussianBeer :: So in fworks it allows u to export the code huh?  
So does that mean if i did it in fireworks and then exported it and then nested in another table it should work?

:?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 30, 2003, 11:17am UTC](https://forum.kirupa.com/t/javascript-from-image-ready-to-dreamweaver/26997/5 "2003-07-30T11:17:04Z")

</div>

thats the plan…

But There should be a way to do it IR though…
