Author |
Message |
spasticdonkey
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/48fb116845dfecf66294c.gif)
Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA
|
Posted:
Thu Oct 29, 2009 9:27 am |
|
If you want a chance to play around with all the cool AJAX API's that google is offering to webmasters, try the AJAX API Playground. I've managed to get lost there for hours at a time
http://code.google.com/apis/ajax/playground/
play with code and see live examples from:
Language API, Blogger API, Calendar API, Earth API, Feeds API, Javascript API, Libraries API, Maps API, Search API,Visualization API, YouTube API |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Thu Oct 29, 2009 12:09 pm |
|
Very cool.... |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
floppydrivez
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/d861f25a45009755975f0.gif)
Joined: Feb 26, 2006
Posts: 340
Location: Jackson, Mississippi
|
Posted:
Fri Oct 30, 2009 7:25 am |
|
Great link, thanks for sharing. |
_________________ Only registered users can see links on this board! Get registered or login!, Only registered users can see links on this board! Get registered or login!, Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Oct 30, 2009 8:00 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
eldorado
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/52f4453749f5c4a233463.gif)
Joined: Sep 10, 2008
Posts: 424
Location: France,Translator
|
Posted:
Sat Oct 31, 2009 6:33 am |
|
spasticdonkey wrote: | I've managed to get lost there for hours at a time
|
me too... especially in the playground
google labs is a great showcase of what can be made in php... |
_________________ Only registered users can see links on this board! Get registered or login! (My RN site)- Only registered users can see links on this board! Get registered or login!(cod4 clan) - Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
xGSTQ
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 03, 2006
Posts: 269
|
Posted:
Fri Nov 13, 2009 7:58 pm |
|
I like the playground area, mess around to your hearts content !
I made a block a few months ago using the API code
http://www.phpnukedownloads.com/google-api-block/
Its okay It could be a lot better say with an admin side with different functions, but that's another idea ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Fri Nov 13, 2009 8:46 pm |
|
Nice block. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Nov 14, 2009 9:13 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
papamike
Theme Guru
![](modules/Forums/images/avatars/10597490775cd5edd76980e.jpg)
Joined: Jan 11, 2006
Posts: 170
|
Posted:
Thu Aug 04, 2011 12:02 pm |
|
How about a universal scrolling API added to the distro. It could be used anywhere, especially on the home page to control the size of the news content blocks, messages, etc. Kinda like the colorbox, use it if you need it or when you have a news story that is extra large and don't want to send the reader to another page. Or if you are putting together a message that is going to be large. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Aug 04, 2011 12:43 pm |
|
papamike, as a developer, I would love to see RN make available a set of core APIs for various things (e.g., user/group authentication and permissions) with core UI components being one of them. I think "colorbox" is an excellent example.
With HTML5, one can even create/use new "data-*" attributes (perfectly compliant) to even pass configuration options for the desired "slider" characteristics for the given desired implementation. Very powerful stuff. Many potential uses. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Aug 04, 2011 1:58 pm |
|
Funny you should mention this now, as kguske recently mentioned autoscroll and I was quite impressed. http://dl.dropbox.com/u/6266559/jQuery.plugins/Demo.aautoscroll.htm
Was planning on pitching it to the RN team as a marquee replacement. Even came up with a sprite based navigation for it, complete with mouseover/toggle functionality. While this is under construction and still has remnants of the demo code in it (don't use it as a basis for anything) I suppose no harm in a little preview. Be sure to play with the nav buttons below the scroller
http://www.rtsforce.com/Demo2.html
still need to figure out how to make it loop..... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
papamike
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Aug 04, 2011 9:29 pm |
|
Could this be applied to messages and news stories blocks? Or would another API be needed? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
neralex
Site Admin
![](modules/Forums/images/avatars/201442295664a46e4575d46.jpg)
Joined: Aug 22, 2007
Posts: 1775
|
Posted:
Wed Aug 10, 2011 6:04 am |
|
spasticdonkey wrote: | Funny you should mention this now, as kguske recently mentioned autoscroll and I was quite impressed. http://dl.dropbox.com/u/6266559/jQuery.plugins/Demo.aautoscroll.htm
Was planning on pitching it to the RN team as a marquee replacement. Even came up with a sprite based navigation for it, complete with mouseover/toggle functionality. While this is under construction and still has remnants of the demo code in it (don't use it as a basis for anything) I suppose no harm in a little preview. Be sure to play with the nav buttons below the scroller
http://www.rtsforce.com/Demo2.html
still need to figure out how to make it loop..... |
hey spasticdonkey!
i have tried to put this in a RN module but after the 1st scroll, it will be stop the scrolling. in your demonstration give it in fox & chrome the same failure after few minutes of scrolling.
i have tested the last 2 week many jquery scroller but i must say, the marquee replacement ist not the best solution. do you have only one scroller, then it is okay but do you want use more as one of this marquee, you become probs with the 2nd scroller. if the 1st sroller at the end of his lines but the 2nd scroller is scrolling, then restart the 2nd scroller with the restart of the first scrolling.
the most jquery scroller realize the scrolling with one id of a marquee. but if you want realize much more then one scrolling fields, you need a different id controlling in the same js-script. thats is the problem.
i found my solution here: http://jscroller2.markusbordihn.de/download/
this one don't have a smooth scrolling...but its the best way, what i found.
![Smile](modules/Forums/images/smiles/icon_smile.gif) |
Last edited by neralex on Wed Aug 10, 2011 2:28 pm; edited 2 times in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
spasticdonkey
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 10, 2011 2:05 pm |
|
I haven't fully had time to work with autoscroll yet, but I don't believe it has a bulit-in looping per-say. You have to use some additional jquery to loop the content a set number of times. For testing I had it set low.
Code: var t = $("#DemoFieldx div").html();
for (var i = 0; i < 2; ++i) {
$("#DemoFieldx div").append(t);
}
|
what this does is grabs the html inside "#DemoFieldx div" and appends another two copies of it. so the content would loop 3 times. If you need it to loop more adjust the loop statement. i placed this inside the function that launches the scroller (before). also, if you are horizontal scrolling there are some tricks to looping you can see in the source of my demo.
Code: <div id="DemoFieldy">
<div style="width: 7000px;"><img src="cologne.jpg"/></div>
</div>
|
looping this 3500px wide image twice horizontally, so the inner container has to be wide enough, even though the parent container is much smaller....
You can also script "on edge events" but haven't tried that functionality yet. In theory you could script your own looping mechanism, animated transition, etc.
I am familiar with the script you mentioned, and liked it aside from the choppy animation. I thought his first version of the script was better, as it was written as a jquery plugin instead of the stand-alone jscroller2, and has better animation.
http://jscroller.markusbordihn.de/ |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
neralex
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Aug 13, 2011 2:13 pm |
|
sorry...it will not work. after the last li, the scroller stop at the end.
btw ... i have found a another jquery scroller with smooth scrolling:
http://logicbox.net/jquery/simplyscroll/
its the best one, what i found at the last days.
![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|