TinyPortal
Development => Resources => Topic started by: nicodemis on December 24, 2007, 04:15:46 PM
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 ).
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.
Why not just have the image display depending on the persons resolution?
http://www.pageresource.com/jscript/jscreen.htm
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