AbelCam Forum
Download AbelCam buy Pro
 
 
 
Welcome Anonymous User
05/04/2024 - 04:37 PM
Quick Search:
Quick Jump:
 
Announcements
Latest Topics
 
Presets
By: EricB
Rank: New Member
Topics: 14
From: n/a
Added: 05/10/2006 - 03:20 AM

It would be nice to have user defined presets!
By: MelvinG
Rank: Magna Cum Laude
Topics: 661
From: Los Angeles, USA
Added: 05/10/2006 - 09:52 AM

Just a thought... take a good look at the last 20 or so lines of the source code of the Javascript sample page that's distributed with LogiSphere (index.html in the Javascript directory created by Logisphere installer). Conceptually the Presets mechanism is all right there - masquerading as an imagemap in this case. It's super easy to take what's already there and slap it around into a set of preset buttons.

The answer lies in this general syntax:

href="pos-40,-100" target="dummy"

Tie something like that to a button and you're good to go.

Quick and dirty example:

[a target="dummy" href="pos-1,1"]Preset 1[/a][br]"
[a target="dummy" href="pos-50,20"]Preset 2[/a][br]

Replace all "[" and "]" with "<" and ">" of course.