Need to Link to an Image on another Page already containing multiple images
-
hello again... I need to create a link on one page (my home page) that links directly to a image on another page already containing multiple images. Thought I knew how to do it...by creating an anchor; & my code looks like this: a href="theOtherPage.html#PHOTO.png">IMAGE SUBJECT but it doesn't work. Even tried the forward slash after the page id: a href="theOtherPage.html/#PHOTO.png">IMAGE SUBJECT (of course both snippets are encased w/ [...just couldn't get that to work here) when the user clicks the link, I want them to be directed right to a specific image on a 2nd page...here's the page:](</a) http://www.moonjams.net/events.html there's 2 images there now, but there will eventually be more. Thought it was just a simple anchor, but does anyone have any idea what I'm doing wrong? thanx, mark4man
-
hello again... I need to create a link on one page (my home page) that links directly to a image on another page already containing multiple images. Thought I knew how to do it...by creating an anchor; & my code looks like this: a href="theOtherPage.html#PHOTO.png">IMAGE SUBJECT but it doesn't work. Even tried the forward slash after the page id: a href="theOtherPage.html/#PHOTO.png">IMAGE SUBJECT (of course both snippets are encased w/ [...just couldn't get that to work here) when the user clicks the link, I want them to be directed right to a specific image on a 2nd page...here's the page:](</a) http://www.moonjams.net/events.html there's 2 images there now, but there will eventually be more. Thought it was just a simple anchor, but does anyone have any idea what I'm doing wrong? thanx, mark4man
You should make classes of all images file. and call the class where you want to insert the images. i am working in dubai city their is a software house where i work. all employes do this method. whenever they calling anything on the page. making classes is the best way in any code.
-
hello again... I need to create a link on one page (my home page) that links directly to a image on another page already containing multiple images. Thought I knew how to do it...by creating an anchor; & my code looks like this: a href="theOtherPage.html#PHOTO.png">IMAGE SUBJECT but it doesn't work. Even tried the forward slash after the page id: a href="theOtherPage.html/#PHOTO.png">IMAGE SUBJECT (of course both snippets are encased w/ [...just couldn't get that to work here) when the user clicks the link, I want them to be directed right to a specific image on a 2nd page...here's the page:](</a) http://www.moonjams.net/events.html there's 2 images there now, but there will eventually be more. Thought it was just a simple anchor, but does anyone have any idea what I'm doing wrong? thanx, mark4man
The part of the link after the
#
character needs to be defined as a "bookmark" within the target page. You do that by setting theid
attribute on an element. Eg: target.html:<img id="image1" src="..." />
Link:
<a href="target.html#image1">Image 1</a>
You can set the
id
on any visible element on the page, but it needs to be unique - no other element on the page can have the sameid
.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
hello again... I need to create a link on one page (my home page) that links directly to a image on another page already containing multiple images. Thought I knew how to do it...by creating an anchor; & my code looks like this: a href="theOtherPage.html#PHOTO.png">IMAGE SUBJECT but it doesn't work. Even tried the forward slash after the page id: a href="theOtherPage.html/#PHOTO.png">IMAGE SUBJECT (of course both snippets are encased w/ [...just couldn't get that to work here) when the user clicks the link, I want them to be directed right to a specific image on a 2nd page...here's the page:](</a) http://www.moonjams.net/events.html there's 2 images there now, but there will eventually be more. Thought it was just a simple anchor, but does anyone have any idea what I'm doing wrong? thanx, mark4man
I am facing some difficulties in designing of this CA CPT / CA Foundation Registration [^]. I don't know what is happening what it doesn't showing the main image. Please help! Thanks in advance