Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

May 28, 2020, 11:00:59 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 190002
  • Total Topics: 20832
  • Online Today: 128
  • Online Ever: 917
  • (January 21, 2020, 09:02:26 AM)
Users Online
Users: 0
Guests: 63
Total: 63

Author Topic: article title bar madification  (Read 3164 times)

0 Members and 1 Guest are viewing this topic.

nicodemis

  • Guest
article title bar madification
« on: December 24, 2007, 09:15:46 AM »
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 ).


Offline Ken.

  • Support Team
  • *
  • Posts: 4351
    • Our FamilyForum
Re: article title bar madification
« Reply #1 on: December 24, 2007, 09:24:48 AM »
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  ^-^

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: article title bar madification
« Reply #2 on: December 24, 2007, 10:14:26 AM »
Why not just have the image display depending on the persons resolution?
http://www.pageresource.com/jscript/jscreen.htm

nicodemis

  • Guest
Re: article title bar madification
« Reply #3 on: December 28, 2007, 07:26:10 AM »
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
« Last Edit: December 28, 2007, 07:57:45 AM by nicodemis »