The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
Im using Publisher to make my webpage, don't know much html but i thought this feature was really cool. Can it be done with html or something basic or do I have to have flash.
That website is using flash to do that. You can approximate that with some JavaScript animation, but flash/silverlight is better for that sort of thing.
I have to say though, it's not really a good design principle (imo). In your example, the 'balooning' of the picture is not really providing much to the user of the website. Is there a reason to include this feature in your webpage?
Nope, just thought it was cool. Im looking for a way to display multiple pictures on one page that isn't just a slide show type. I want to be able to have them all on one page to view so that you don't have to click on them to go to another page but also don't want to make the page to big leading to scrolling up, down, left, right. Any recommendations?
Nope, just thought it was cool. Im looking for a way to display multiple pictures on one page that isn't just a slide show type. I want to be able to have them all on one page to view so that you don't have to click on them to go to another page but also don't want to make the page to big leading to scrolling up, down, left, right. Any recommendations?
I'd suggest using lightbox. Details and examples of the effect can be found here:
Well I'm assuming that you don't really care about the animation aspect of it and just want it to go from small to large when moused over. There are two ways to do this, both requiring some javascript.
The first way would be to simply resize the image when moused over like so:
<img src="yourimagehere.gif" style="width:100px;
border:2px solid black;" onmouseover="this.style.width='400px'" onmouseout="this.style.width='100px'" alt="" title="" />
Nope, just thought it was cool. Im looking for a way to display multiple pictures on one page that isn't just a slide show type. I want to be able to have them all on one page to view so that you don't have to click on them to go to another page but also don't want to make the page to big leading to scrolling up, down, left, right. Any recommendations?
I'd suggest using lightbox. Details and examples of the effect can be found here:
Never mind with what was previously here I worked past it. New problem now though is my images are loading twice in a row in lightbox. When you click next image it loads the same one again. Then you click next again and it loads a new one. Here is the code in the header(like instructions say)
<a href="images/image-2.jpg" rel="lightbox[jettbleu]"><li> Jett Bleu 12,500 sq ft home of John Travolta (featured in Architectural Digest Magazine, April 2004)</a>
<a href="images/image-3.jpg" rel="lightbox[jettbleu]" title="Roll over and click right side of image to move forward."></a>
<a href="images/image-4.jpg" rel="lightbox[jettbleu]" title="Alternatively you can press the right arrow key." ></a>
<a href="images/image-5.jpg" rel="lightbox[jettbleu]" title="The script preloads the next image in the set as you're viewing."></a>
Yeah I modified the pattern slightly to eliminate the thumbnail picture. When i used the </div> piece it really screwed up the page. I got it mostly working, here is the page if you wanna see it. For some reason though the first image is still repeating and I can't figure out why.
On a side note I do not like how everything is pushed over to the left on my 19" monitor. Is there a simple piece of code I can enter so that everything is centered up like Penny Arcade's main page?
Yeah I modified the pattern slightly to eliminate the thumbnail picture. When i used the </div> piece it really screwed up the page. I got it mostly working, here is the page if you wanna see it. For some reason though the first image is still repeating and I can't figure out why.
On a side note I do not like how everything is pushed over to the left on my 19" monitor. Is there a simple piece of code I can enter so that everything is centered up like Penny Arcade's main page?
Your page does not render... at all. This Link is a screenshot of what I see when I view the page. W3C sees 230 Errors with this page, so if this was generated using Publisher, you are probably much better off starting with notepad and trying it from scratch.
That said, give me a few minutes and I'll try to mock up a good sample of the script working. Hopefully, you can use that to get your content working right.
Loads fine for me in Firefox 3. I haven't had a chance yet to go through the code to see why the first image is repeating like that.
Actually, looking at it in IE, the page loads fine, but then the ad bar at the top forces everything off to the right. If you scroll right in IE, you see the page. I also noticed that in IE the first image doesn't repeat, so it's apparently a browser specific difference.
My code did look a little funky although it worked. I copied yours identically and plugged in my pictures and it worked just the same(a picture repeated). It is only the first picture that is being repeated now. Before it was the first and the 5th or 6th.
Edit: yeah that godaddy ad is horrible. gotta get rid of that soon.
Also, what kind of code would I need to keep my page in the center of the browser anytime the browser is re sized? Similar to penny arcade home page
Thanks that works great, but I have to edit my index.html in notepad to get it to work. Unfortunately I can't edit source code and have it save in publisher. I would have to go edit that code with notepad on all my pages every time I changed something in publisher. Publisher sucks, im surprised it let the lightbox stuff work just by adding an html code fragment to the page.
you will never get publisher to do anything at all right, and especially nothing to do with websites.
and yes, to center everything you will need to re-author all of your pages, as they are structurally incapable of centering. since there is no container for your content, there is no way to center it.
for the original question, litebox, thickbox, fancybox, there are a dozen ways to do it. but first you need to fix the underlying problems, ie publisher.
Posts
I have to say though, it's not really a good design principle (imo). In your example, the 'balooning' of the picture is not really providing much to the user of the website. Is there a reason to include this feature in your webpage?
Home Inspection and Wind Mitigation
http://www.FairWindInspections.com/
I'd suggest using lightbox. Details and examples of the effect can be found here:
http://www.lokeshdhakar.com/projects/lightbox2/
I would also google lightbox to find any other resources that may have code samples to make it really simple for you.
The first way would be to simply resize the image when moused over like so:
<img src="yourimagehere.gif" style="width:100px;
border:2px solid black;" onmouseover="this.style.width='400px'" onmouseout="this.style.width='100px'" alt="" title="" />
The second way would be to use jquery to load a new image, you can see this in action at:
http://cssglobe.com/lab/tooltip/02/ and download it from the link on http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery (it is example 2)
I like this solution. While I've personally never used lightbox, I know people that have and they like it.
Home Inspection and Wind Mitigation
http://www.FairWindInspections.com/
and in the body
Home Inspection and Wind Mitigation
http://www.FairWindInspections.com/
or
Note that in addition to assigning the href attribute of the link tag the image Url, but the link itself contains an image tag with the thumbnail url.
http://www.southernqualityinc.com/index_files/Page573.htm
On a side note I do not like how everything is pushed over to the left on my 19" monitor. Is there a simple piece of code I can enter so that everything is centered up like Penny Arcade's main page?
Home Inspection and Wind Mitigation
http://www.FairWindInspections.com/
Your page does not render... at all. This Link is a screenshot of what I see when I view the page. W3C sees 230 Errors with this page, so if this was generated using Publisher, you are probably much better off starting with notepad and trying it from scratch.
That said, give me a few minutes and I'll try to mock up a good sample of the script working. Hopefully, you can use that to get your content working right.
Actually, looking at it in IE, the page loads fine, but then the ad bar at the top forces everything off to the right. If you scroll right in IE, you see the page. I also noticed that in IE the first image doesn't repeat, so it's apparently a browser specific difference.
The first image isn't being repeated twice, so perhaps you can compare to your code and see what is being omitted or perhaps included.
Edit: yeah that godaddy ad is horrible. gotta get rid of that soon.
Also, what kind of code would I need to keep my page in the center of the browser anytime the browser is re sized? Similar to penny arcade home page
Home Inspection and Wind Mitigation
http://www.FairWindInspections.com/
Change the lime CSS to the width you want the page layout to be.
Home Inspection and Wind Mitigation
http://www.FairWindInspections.com/
you are better off using notepad. i am dead serious. you are better off starting over.
http://www.htmlkit.com/
http://www.microsoft.com/express/vwd/
http://notepad-plus.sourceforge.net/uk/site.htm
use any of the above. all free.
you will never get publisher to do anything at all right, and especially nothing to do with websites.
and yes, to center everything you will need to re-author all of your pages, as they are structurally incapable of centering. since there is no container for your content, there is no way to center it.
for the original question, litebox, thickbox, fancybox, there are a dozen ways to do it. but first you need to fix the underlying problems, ie publisher.