+ Reply
Results 1 to 8 of 8

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: [DreamBoard] Help with web widgets?

is a discussion within the

Skinning / Themes Discussion

forums, a part of the

Design and Media For the iPhone / iPod Touch

section;
Okay so far I manage to display all the widgets I want to display. There's just one problem, only the Facebook one scrolls and you can interact with it and
...
  1. #1
    Green Apple
    Join Date
    Sep 2011
    Posts
    63
    Thanks
    7
    Thanked 6 Times in 6 Posts

    Question [DreamBoard] Help with web widgets?
    Okay so far I manage to display all the widgets I want to display.
    There's just one problem, only the Facebook one scrolls and you can interact with it and everything. As for the Twitter and Hotmail one they can't be interacted with noris it possible to scroll.
    The funny thing is, once I move the Twitter widget code ABOVE the Facebook widget code
    I can interact with the Twitter widget no problem but in return the Facebook widget can
    no longer be interacted with. Any ideas?

    Here's the code:

    Code:
    <dict>
    <key>ClipToBounds</key>
    <true/>
    <key>ContentHeight</key>
    <integer>5000</integer>
    <key>ContentWidth</key>
    <integer>300</integer>
    <key>FrameHeight</key>
    <integer>385</integer>
    <key>FrameWidth</key>
    <integer>350</integer>
    <key>FrameX</key>
    <integer>1133</integer>
    <key>FrameY</key>
    <integer>80</integer>
    <key>HorizontalScrollBars</key>
    <false/>
    <key>ScrollingEnabled</key>
    <true/>
    <key>Subviews</key>
    <array>
    <dict>
    <key>ClipToBounds</key>
    <true/>
    <key>FrameHeight</key>
    <integer>5000</integer>
    <key>FrameWidth</key>
    <integer>270</integer>
    <key>FrameX</key>
    <integer>0</integer>
    <key>FrameY</key>
    <integer>0</integer>
    <key>URL</key>
    <string>/DreamBoard/ThemeName/Widgets/Facebook/Widget.html</string>
    <key>UserInteraction</key>
    <true/>
    <key>Toggled</key>
    <false/>
    <key>Alpha</key>
    <real>0.</real>
    <key>ToggledInteraction</key>
    <true/>
    <key>ViewType</key>
    <string>WebView</string>
    <key>id</key>
    <string>FacebookWidget</string>
    </dict>
    </array>
    <key>UserInteraction</key>
    <true/>
    <key>VerticalScrollBars</key>
    <false/>
    <key>ViewType</key>
    <string>ScrollView</string>
    </dict>
    
    
    
    
    
    
    <dict>
    <key>ClipToBounds</key>
    <true/>
    <key>ContentHeight</key>
    <integer>5000</integer>
    <key>ContentOffsetX</key>
    <integer>0</integer>
    <key>ContentOffsetY</key>
    <integer>0</integer>
    <key>ContentWidth</key>
    <integer>300</integer>
    <key>FrameHeight</key>
    <integer>385</integer>
    <key>FrameWidth</key>
    <integer>310</integer>
    <key>FrameX</key>
    <integer>1133</integer>
    <key>FrameY</key>
    <integer>80</integer>
    <key>HorizontalScrollBars</key>
    <false/>
    <key>ScrollingEnabled</key>
    <true/>
    <key>Subviews</key>
    <array>
    <dict>
    <key>ClipToBounds</key>
    <true/>
    <key>FrameHeight</key>
    <integer>5000</integer>
    <key>FrameWidth</key>
    <integer>270</integer>
    <key>FrameX</key>
    <integer>0</integer>
    <key>FrameY</key>
    <integer>0</integer>
    <key>URL</key>
    <string>/DreamBoard/ThemeName/Widgets/Twitter/Widget.html</string>
    <key>UserInteraction</key>
    <true/>
    <key>Toggled</key>
    <false/>
    <key>Alpha</key>
    <real>0.</real>
    <key>ToggledInteraction</key>
    <true/>
    <key>ViewType</key>
    <string>WebView</string>
    <key>id</key>
    <string>TwitterWidget</string>
    </dict>
    </array>
    <key>UserInteraction</key>
    <true/>
    <key>VerticalScrollBars</key>
    <false/>
    <key>ViewType</key>
    <string>ScrollView</string>
    </dict>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    <dict>
    <key>ClipToBounds</key>
    <true/>
    <key>ContentHeight</key>
    <integer>5000</integer>
    <key>ContentWidth</key>
    <integer>300</integer>
    <key>FrameHeight</key>
    <integer>385</integer>
    <key>FrameWidth</key>
    <integer>350</integer>
    <key>FrameX</key>
    <integer>1133</integer>
    <key>FrameY</key>
    <integer>80</integer>
    <key>HorizontalScrollBars</key>
    <false/>
    <key>ScrollingEnabled</key>
    <true/>
    <key>Subviews</key>
    <array>
    <dict>
    <key>ClipToBounds</key>
    <true/>
    <key>FrameHeight</key>
    <integer>5000</integer>
    <key>FrameWidth</key>
    <integer>270</integer>
    <key>FrameX</key>
    <integer>0</integer>
    <key>FrameY</key>
    <integer>0</integer>
    <key>URL</key>
    <string>/DreamBoard/ThemeName/Widgets/Hotmail/Widget.html</string>
    <key>UserInteraction</key>
    <true/>
    <key>Toggled</key>
    <false/>
    <key>Alpha</key>
    <real>0.</real>
    <key>ToggledInteraction</key>
    <true/>
    <key>ViewType</key>
    <string>WebView</string>
    <key>id</key>
    <string>HotmailWidget</string>
    </dict>
    </array>
    <key>UserInteraction</key>
    <true/>
    <key>VerticalScrollBars</key>
    <false/>
    <key>ViewType</key>
    <string>ScrollView</string>
    </dict>
    Last edited by xLastWishx; 09-10-2011 at 07:02 PM.

  2. #2
    My iPhone is a Part of Me noelbob's Avatar
    Join Date
    Aug 2009
    Location
    Stuck in Ohio
    Posts
    514
    Thanks
    138
    Thanked 185 Times in 116 Posts

    How are you switching the widgets that could have something to do with the issue

  3. #3
    Green Apple
    Join Date
    Sep 2011
    Posts
    63
    Thanks
    7
    Thanked 6 Times in 6 Posts

    I thought of that as well but still no luck, I just use:

    Code:
    <key>UserInteraction</key>
    <true/>
    <key>Toggled</key>
    <false/>
    <key>Alpha</key>
    <real>0.</real>
    <key>ToggledInteraction</key>
    <true/>

  4. #4
    My iPhone is a Part of Me noelbob's Avatar
    Join Date
    Aug 2009
    Location
    Stuck in Ohio
    Posts
    514
    Thanks
    138
    Thanked 185 Times in 116 Posts

    well what buttons or functions are you using? the toggle feature is not the best way to switch anything.

  5. #5
    Green Apple
    Join Date
    Sep 2011
    Posts
    63
    Thanks
    7
    Thanked 6 Times in 6 Posts

    I did not know that, I had just played around with plists yesterday. Here is the toggle code that I use:

    Code:
    <!--Hotmail Widget Toggle-->
    
    <dict>
    <key>Actions</key>
    <array>
    <string>show HotmailWidget</string>
    <string>hide TwitterWidget</string>
    <string>hide FacebookWidget</string>
    <string>toggle fbButton</string>
    <string>toggle TwitterButton</string>
    <string>toggle HotmailButton</string>
    <string>toggle UserDP</string>
    <string>toggle appGrid</string>
    <string>toggle gridBG</string>
    <string>toggle gridOverlay</string>
    <string>toggle WidgetsMenu</string>
    </array>
    <key>FrameHeight</key>
    <integer>24</integer>
    <key>FrameWidth</key>
    <integer>61</integer>
    <key>FrameX</key>
    <integer>190</integer>
    <key>FrameY</key>
    <integer>34</integer>
    <key>Image</key>
    <string>$ROOT/Images/HotmailToggle.png</string>
    <key>UserInteraction</key>
    <true/>
    <key>Toggled</key>
    <false/>
    <key>Alpha</key>
    <real>0.</real>
    <key>ToggledInteraction</key>
    <true/>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>HotmailButton</string>
    </dict>
    
    <!--End of Hotmail Widget Toggle-->
    
    
    
    
    
    <!--Facebook Widget Toggle-->
    
    <dict>
    <key>Actions</key>
    <array>
    <string>show FacebookWidget</string>
    <string>hide TwitterWidget</string>
    <string>hide HotmailWidget</string>
    <string>toggle fbButton</string>
    <string>toggle TwitterButton</string>
    <string>toggle HotmailButton</string>
    <string>toggle UserDP</string>
    <string>toggle appGrid</string>
    <string>toggle gridBG</string>
    <string>toggle gridOverlay</string>
    <string>toggle WidgetsMenu</string>
    </array>
    <key>FrameHeight</key>
    <integer>24</integer>
    <key>FrameWidth</key>
    <integer>61</integer>
    <key>FrameX</key>
    <integer>90</integer>
    <key>FrameY</key>
    <integer>34</integer>
    <key>Image</key>
    <string>$ROOT/Images/FacebookToggle.png</string>
    <key>UserInteraction</key>
    <true/>
    <key>Toggled</key>
    <false/>
    <key>Alpha</key>
    <real>0.</real>
    <key>ToggledInteraction</key>
    <true/>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>fbButton</string>
    </dict>
    
    <!--End of Facebook Widget Toggle-->
    
    
    
    
    
    
    
    
    
    
    <dict>
    <key>Actions</key>
    <array>
    <string>show TwitterWidget</string>
    <string>hide FacebookWidget</string>
    <string>hide HotmailWidget</string>
    <string>toggle fbButton</string>
    <string>toggle TwitterButton</string>
    <string>toggle HotmailButton</string>
    <string>toggle UserDP</string>
    <string>toggle appGrid</string>
    <string>toggle gridBG</string>
    <string>toggle gridOverlay</string>
    <string>toggle WidgetsMenu</string>
    </array>
    <key>FrameHeight</key>
    <integer>24</integer>
    <key>FrameWidth</key>
    <integer>61</integer>
    <key>FrameX</key>
    <integer>140</integer>
    <key>FrameY</key>
    <integer>34</integer>
    <key>Image</key>
    <string>$ROOT/Images/TwitterToggle.png</string>
    <key>UserInteraction</key>
    <true/>
    <key>Toggled</key>
    <false/>
    <key>Alpha</key>
    <real>0.</real>
    <key>ToggledInteraction</key>
    <true/>
    <key>ViewType</key>
    <string>Button</string>
    <key>id</key>
    <string>TwitterButton</string>
    </dict>

  6. #6
    My iPhone is a Part of Me noelbob's Avatar
    Join Date
    Aug 2009
    Location
    Stuck in Ohio
    Posts
    514
    Thanks
    138
    Thanked 185 Times in 116 Posts

    have you looked at the dreamboard wiki Introduction - dreamboard - Welcome - DreamBoard Open Source Files and Hosting - Google Project Hosting
    it has a ton of info but you could set up functions to run and make them dynamic views which would would work or there are a dozen other ways

  7. #7
    Green Apple
    Join Date
    Sep 2011
    Posts
    63
    Thanks
    7
    Thanked 6 Times in 6 Posts

    Ah I totally forgot about DynamicViews! Thanks a lot! Hopefully it fixes the problem. ^____^

  8. #8
    My iPhone is a Part of Me noelbob's Avatar
    Join Date
    Aug 2009
    Location
    Stuck in Ohio
    Posts
    514
    Thanks
    138
    Thanked 185 Times in 116 Posts

    If you need any help with it let me know also there is a thread in the releases section call creating themes for dreamboard you can also check in there

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts