TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 05:44:56 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,105
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 335
  • Total: 336
  • @rjen

article title bar madification

Started by nicodemis, December 24, 2007, 04:15:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nicodemis

I'm showing a map as an article on my frontpage, but with different resolutions I'd like to offer different sizes of the maps.

Ideally I'd like the title bar to have a 'S' 'M' 'L' in the title bar that would change the size of the image in article...if possible.

Or any other ideas for making this work. Possible links to versions of site with different resolutions (think I saw that on another site, had link for resolutions ).


Ken.

You'll likely need to wait for one of our code specialists to stop by for help on this one, but in the meantime check out the link below:

http://www.dynamicdrive.com/
Lots of different scripts here, look at this page to see if it helps.
http://www.dynamicdrive.com/dynamicindex1/indexc.html

Also, in the Block Code Snippets board here on TP there are several snippets that you could look at and maybe find what you need.

" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

IchBin

Why not just have the image display depending on the persons resolution?
http://www.pageresource.com/jscript/jscreen.htm

nicodemis

#3
Those look like some things to experiment with. Since currently I have an image in an article bloc, I'm assuming to use the one you pointed me to, I'd put in a javascript bloc. I'll see what it does or if I can get t to work. Still think it would be a nice addition if coded though.

In a way it what I'm asking for is like a mini menu that could be added to any bloc, I'm sure others would put it to good use if coded. It could have many uses other them my simple need.

One other solution, which is probably easier, is to just be able to make the image scrollable so it doesn't force the width of the frontpage. and i mean to add scrollbar to image or bloc, not marquee