
04-22-2010, 07:20 AM
|
| | CrackBerry Abuser Device(s): iPhone4 Carrier: AT&T | | Join Date: Mar 2009 Posts: 326 Likes Received: 0
Thanked 0 Times in 0 Posts
| |
Quote:
Originally Posted by deficitism Heres your today info. Read this carefully.
There is an issue adding the today objects with code. What happens is, when you add them with code and not with theme builder, theme builder will yell at you and say 'calendar1time' is already in use. You need that calendar1time object as its the time of your next appointment. However, I found a workaround.
Add your permanent today item with theme builder. Put it where you want it on your screen. Out of box, this will result in your today area showing all the time.
In your custom SVG code, you will manipulate what the today will do. You can make it hide/show/slide/etc on events (hotkeys, buttons, etc)
Heres a snippit from a theme I'm working on. What this will do is hide your today objects at frame 0. Making it technically a 'hidden today'. Code: <set xlink:href="#hs0_line" attributeName="display" to="none" begin="0"/>
<set xlink:href="#hs0" attributeName="display" to="none" begin="0"/>
<set xlink:href="#calendar1hotspot" attributeName="display" to="none" begin="0"/>
<set xlink:href="#calendar2hotspot" attributeName="display" to="none" begin="0"/>
<set xlink:href="#calendar3hotspot" attributeName="display" to="none" begin="0"/>
<set xlink:href="#calendar4hotspot" attributeName="display" to="none" begin="0"/>
<set xlink:href="#calendar5hotspot" attributeName="display" to="none" begin="0"/>
<set xlink:href="#calendar6hotspot" attributeName="display" to="none" begin="0"/>
<set xlink:href="#calendar7hotspot" attributeName="display" to="none" begin="0"/> The above code is assuming you have 7 calendar today items. You can add more or take some away. If you are using a 'messages' today item, change the words 'calendar' to 'messages'. If you have both a calendar and messages today on the same theme, you will need to change the top 2 object names incrementally, based on the order you added your today in theme builder. For example, if I added a 'calendar' today in theme builder, then I added a 'messages' today afterwards, the calendar today objects would use 'hs0line' and 'hs0'. The 'messages' today would use 'hs1line' and 'hs1'. If I added the today objects in the reverse order, messages would use 'hs0line' and 'hs0'. Calendar would use 'hs1line' and 'hs1'. I hope this makes sense to you.
Heres an example of using the hotkey 'x' to show my calendar today area. (based on the example above) Code: <set xlink:href="#hs0_line" attributeName="display" to="inline" begin"accesskey(x)"/>
<set xlink:href="#hs0" attributeName="display" to="inline" begin"accesskey(x)"/>
<set xlink:href="#calendar1hotspot" attributeName="display" to="inline" begin"accesskey(x)"/>
<set xlink:href="#calendar2hotspot" attributeName="display" to="inline" begin"accesskey(x)"/>
<set xlink:href="#calendar3hotspot" attributeName="display" to="inline" begin"accesskey(x)"/>
<set xlink:href="#calendar4hotspot" attributeName="display" to="inline" begin"accesskey(x)"/>
<set xlink:href="#calendar5hotspot" attributeName="display" to="inline" begin"accesskey(x)"/>
<set xlink:href="#calendar6hotspot" attributeName="display" to="inline" begin"accesskey(x)"/>
<set xlink:href="#calendar7hotspot" attributeName="display" to="inline" begin"accesskey(x)"/> Finally, here is an example of hiding said today area with hotkey 'z'. Code: <set zlink:href="#hs0_line" attributeName="display" to="none" begin"accesskey(z)"/>
<set zlink:href="#hs0" attributeName="display" to="none" begin"accesskey(z)"/>
<set zlink:href="#calendar1hotspot" attributeName="display" to="none" begin"accesskey(z)"/>
<set zlink:href="#calendar2hotspot" attributeName="display" to="none" begin"accesskey(z)"/>
<set zlink:href="#calendar3hotspot" attributeName="display" to="none" begin"accesskey(z)"/>
<set zlink:href="#calendar4hotspot" attributeName="display" to="none" begin"accesskey(z)"/>
<set zlink:href="#calendar5hotspot" attributeName="display" to="none" begin"accesskey(z)"/>
<set zlink:href="#calendar6hotspot" attributeName="display" to="none" begin"accesskey(z)"/>
<set zlink:href="#calendar7hotspot" attributeName="display" to="none" begin"accesskey(z)"/> I really hope I explained this well enough for you. Enjoy, and feel free to show the community what you came up with! | WOW! that's just AWESOME!!!
|