inherit
151650
0
Jul 29, 2018 18:13:48 GMT -8
• Ambrose •
1,077
February 2010
shoggard3
|
Arrows
Mar 17, 2012 14:25:07 GMT -8
Post by • Ambrose • on Mar 17, 2012 14:25:07 GMT -8
I wasn't sure where to post this.
For my website I have built five separate pages that are accessible through a table of menu buttons. I have used mostly table codes for the website and so far it's functioning well.
For the home page, I want to feature the best of my work and I want them large enough to fill out the "body" table. My problem is that at this stage I can only put in one picture! I thought of doing a slideshow but I have no idea how to do that and I felt it might annoy some people especially if they are a bit impatient.
So my next thought was to use arrows that could change the pictures. I've looked for arrow codes with no luck lately, so I need help. Is there a way to simply put in arrows that are clickable so that the pictures will change back and forth? Would I need to use the <img src> and <a> codes to be able to do this? Or is there is a quicker and easier way that wouldn't take up so much space?
|
|
inherit
40157
tyrantlytamale 627939549 tjhtmlmaniac
0
Sept 3, 2023 15:17:02 GMT -8
Tylr
The stale taste of recycled air.
2,964
April 2005
tyrantlytamale
|
Arrows
Mar 17, 2012 16:06:20 GMT -8
Post by Tylr on Mar 17, 2012 16:06:20 GMT -8
Simplest solution:
<a href="Link_To_Next_Page"><img src="Arrow_Image" border="0"></a> Anything embedded inside the <a> tag will be a link. The border="0" part will keep the arrow from having a blue line around it.
|
|
inherit
151650
0
Jul 29, 2018 18:13:48 GMT -8
• Ambrose •
1,077
February 2010
shoggard3
|
Arrows
Mar 18, 2012 17:55:54 GMT -8
Post by • Ambrose • on Mar 18, 2012 17:55:54 GMT -8
If I wanted to change the picture but not the page, I should put that code into the table with the pictures, right? So basically, it should be like a list of the pictures' URL(s) and a new URL for the arrows.
|
|
inherit
40157
tyrantlytamale 627939549 tjhtmlmaniac
0
Sept 3, 2023 15:17:02 GMT -8
Tylr
The stale taste of recycled air.
2,964
April 2005
tyrantlytamale
|
Arrows
Mar 18, 2012 23:00:12 GMT -8
Post by Tylr on Mar 18, 2012 23:00:12 GMT -8
No, not quite. You could do that with an iframe, but not with a table.
The most direct way to change an image with a link is with JavaScript:
<img src="OLDIMAGE" id="changeme">
<a href="javascript:document.getElementById('changeme').src='NEWIMAGE'">Click to change</a>
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Arrows
Mar 19, 2012 8:09:11 GMT -8
Post by RedBassett on Mar 19, 2012 8:09:11 GMT -8
|
|