HighDots Forums  

Making an html code from a href link

alt.html.writers alt.html.writers


Discuss Making an html code from a href link in the alt.html.writers forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jason Garrett
 
Posts: n/a

Default Making an html code from a href link - 12-19-2003 , 10:24 PM






I am in need of a little help with this one. I wasn't quite sure how
to start to search for this but I believe this can be done.
I run a couple of websites and I am trying to get them off the ground.
The one in question is a wallpaper site. What I am looking for is a
script that will create html code.
This is what is in my head. On one page I have a table of thumbnails.
The bigger image will be linked from the thumbnail. Now the easiest
way to do this would be to put the bigger images on their own page but
in actuality, it is not that easy in the long run. The organization of
files and folders is shabby at best. But instead of a link to and
shtml or html file that has the image coded on it I would like to have
a script that creates the code for me and places the image on a code
generated link. So, what happens is that when the user clicks on the
link for their resolution of the image they want to view the link they
clicked on generates the code puts the image within that code and the
person views the bigger image. All of this and the directories and
files only contain the thumbnail and bigger image files and no html
files just the one that displays the thumbnails.

Thank you for anyone that may be able to help with this problem of
mine
Jason Garrett
www.realmofillusion.com
not much of a site, but that is why I am looking for this script or
coding, if it exists

Reply With Quote
  #2  
Old   
Rob
 
Posts: n/a

Default Re: Making an html code from a href link - 12-21-2003 , 12:13 PM







"Jason Garrett" <n73gx (AT) matrixlair (DOT) com> wrote

Quote:
I am in need of a little help with this one. I wasn't quite sure how
to start to search for this but I believe this can be done.
I run a couple of websites and I am trying to get them off the ground.
The one in question is a wallpaper site. What I am looking for is a
script that will create html code.
This is what is in my head. On one page I have a table of thumbnails.
The bigger image will be linked from the thumbnail. Now the easiest
way to do this would be to put the bigger images on their own page but
in actuality, it is not that easy in the long run. The organization of
files and folders is shabby at best. But instead of a link to and
shtml or html file that has the image coded on it I would like to have
a script that creates the code for me and places the image on a code
generated link. So, what happens is that when the user clicks on the
link for their resolution of the image they want to view the link they
clicked on generates the code puts the image within that code and the
person views the bigger image. All of this and the directories and
files only contain the thumbnail and bigger image files and no html
files just the one that displays the thumbnails.

Thank you for anyone that may be able to help with this problem of
mine
Jason Garrett
www.realmofillusion.com
not much of a site, but that is why I am looking for this script or
coding, if it exists
Check out JavaScript for that. Maybe make one function for determining the
Visitor's Screen Width an then if it's one size, write HTML into the page
with that screens dimensions, an if it's the other write that screen
dimension.

--------------------------------------
<body OnLoad="s_size()//">
<script language="javascript" type="text/css">
<!--
function w_size () {
if ( window.screen.width="1024" )
{
document.write("HTML Code Here")
document.write("HTML Code Here")
document.write("HTML Code Here")
document.write("HTML Code Here")
document.write("HTML Code Here")
document.write("HTML Code Here")
}
else if ( window.screen.width="800"
{
document.write("HTML Code Here")
document.write("HTML Code Here")
document.write("HTML Code Here")
document.write("HTML Code Here")
document.write("HTML Code Here")
document.write("HTML Code Here")
}
}
//-->
</script>
----------------------------------

The only other way I can think to do it would make for a really big script.
An I'm not entirely sure this is even close to what your wanting, even
though I understand what your wanting.
HTH

Rob




Reply With Quote
  #3  
Old   
Doug Scott
 
Posts: n/a

Default Re: Making an html code from a href link - 12-21-2003 , 03:30 PM



Jason,

Quote:
All of this and the directories and
files only contain the thumbnail and bigger image files and no html
files just the one that displays the thumbnails.
I suspect the latest version of Cpicture will do it - it will create an
HTML web page of thumbnails of a set of nominated images. Click on the
thumbnail, and the relevant picture is opened up. It may not be what
you want, but have a look at http://www.cpicture.de/en/. I don't know
the guy, but I've used the software for a couple of years. It's a good,
quick image viewer.

---

Doug

dwscott (AT) ieee (DOT) org





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.