PDA

View Full Version : Reposition images in Drop In Slideshow



jrangitsch
05-16-2007, 01:56 PM
1) Script Title: Drop in slide show

2) Script URL (on DD): ): http://www.dynamicdrive.com/dropinslideshow.js

3) Describe problem: I got the slide show to run just fine by following the instructions, :>) but I need to reposition the displayed images in the center of the page.

I thought I'd start here before I started mucking around in the code...


Thanks in advance

Joe

jscheuer1
05-16-2007, 05:07 PM
Script URL (on DD): ): http://www.dynamicdrive.com/dropinslideshow.js

Please post a working link to the Dynamic Drive demo page of this script. Also helpful would be a link to your problem page.

Without that, I can tell you that most DD slide shows act like division tags and can be placed anywhere on a page in the same manner that any division tag can.

dandaman2k7
07-17-2007, 04:22 PM
Dear Dynamic Drive:
Here is the link:
http://www.dynamicdrive.com/dynamicindex14/dropitslide.htm

Like the person above I am having extreme difficulty centering the slideshow I created and also like him I thought I'd ask you guys before messing around with the .JS file.

What it looks like on my site now can be viewed at
http://www.ciaccess.com/~danielscabindesigns/awards.htm
Click either title for a demonstration and you'll see it's not exactly centered

Any help would be appreciated

Daniel Swan
Daniel's Cabin Designs

jscheuer1
07-17-2007, 05:09 PM
Dear Dynamic Drive:
Here is the link:
http://www.dynamicdrive.com/dynamicindex14/dropitslide.htm

Like the person above I am having extreme difficulty centering the slideshow I created and also like him I thought I'd ask you guys before messing around with the .JS file.

What it looks like on my site now can be viewed at
http://www.ciaccess.com/~danielscabindesigns/awards.htm
Click either title for a demonstration and you'll see it's not exactly centered

Any help would be appreciated

Daniel Swan
Daniel's Cabin Designs

That's pretty sloppy coding, but rather than try to teach you to become a standards compliant coder, I will show you a way to get one of the pages working out. This will probably work as well on the other.

On this page:

http://www.ciaccess.com/~danielscabindesigns/awardscreations.htm

Put this style section in the head:


<style type="text/css">
#show div div {
text-align:center;
}
</style>

Then in the body, use the id with the cell containing the slideshow:


<td id="show">
<p align="center">
<script type="text/javascript">

//Define Image Array. Syntax: ["image_path", "url_destination", "url_target"]
var myimages=new Array()
myimages[0]=["Awards/Creations/200608daniel.jpg"]
myimages[1]=["Awards/Creations/daniel200609.jpg"]
myimages[2]=["Awards/Creatio . . .

dandaman2k7
07-17-2007, 09:58 PM
That's pretty sloppy coding, but rather than try to teach you to become a standards compliant coder, I will show you a way to get one of the pages working out. This will probably work as well on the other.

On this page:

http://www.ciaccess.com/~danielscabindesigns/awardscreations.htm

Put this style section in the head:


<style type="text/css">
#show div div {
text-align:center;
}
</style>

Then in the body, use the id with the cell containing the slideshow:


<td id="show">
<p align="center">
<script type="text/javascript">

//Define Image Array. Syntax: ["image_path", "url_destination", "url_target"]
var myimages=new Array()
myimages[0]=["Awards/Creations/200608daniel.jpg"]
myimages[1]=["Awards/Creations/daniel200609.jpg"]
myimages[2]=["Awards/Creatio . . .

Dear John:
I'm sorry my code's a little sloppy but I use FrontPage 2003 to make my web pages. I don't know the first thing about Raw HTML Coding if there were any ideas or resources you could point me to to make me a standards compliant coder please do e-mail them to me as I would like to learn it would help me make web sites better, I have a web design service I do on the side and you know the old saying "Knowledge is Power"

jscheuer1
07-18-2007, 02:44 AM
Yes but, did my solution work for you? Here are some avenues for exploration if you would like to improve your coding skills:


See:

http://www.dynamicdrive.com/forums/showthread.php?t=15425

and:

http://www.dynamicdrive.com/forums/showthread.php?t=21570

This is one good site that I am not sure if it is covered in the above discussions:

http://www.anybrowser.org/campaign/abdesign.html

Other than that, it really depends upon your style of learning. If you are more comfortable in the classroom, take a course. However, that will probably only get you the basics and may or may not be the best source of accurate and/or up to date information. The same is generally true of books. O'Reilly's books are generally fairly good and you can look at:

http://online-books.oreilly.com/

and:

http://www.oreilly.com/

to help you decide if they are for you.

dandaman2k7
07-18-2007, 03:34 AM
Yes but, did my solution work for you? Here are some avenues for exploration if you would like to improve your coding skills:

Dear John:
Yes Your Method Did work for me and thanks for it it centered it wonderfully

Sliight
07-18-2007, 07:47 AM
I used front page to make a basic website 10 years ago and didn't do any coding in the HTML.

This website has a few links throughout that I had to search for... not sure if this will help you get compliant code... but I learned a lot on html and CSS... and the style master program I bought is great. I still use front page 2000, but solely to edit the html and publish the site. I can't use the WYSIWYG editor because it appears so jacked up when you use the CSS for positioning.

HTML: http://www.echoecho.com/htmlmetatags03.htm

CSS: http://www.westciv.com/style_master/house/index.html (the hands on tutorial was great for me)

I kept getting told to use CSS... and it was a daunting thought...cause I had zero clue what it was. Now, just like everyone here says... I can't imagine not using it.