Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Thu Oct 29, 2009 9:27 am Reply with quote

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 Smile

Arrow 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
 
View user's profile Send private message Visit poster's website
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Thu Oct 29, 2009 12:09 pm Reply with quote

Very cool....

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
floppydrivez
Involved
Involved



Joined: Feb 26, 2006
Posts: 340
Location: Jackson, Mississippi

PostPosted: Fri Oct 30, 2009 7:25 am Reply with quote

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! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
spasticdonkey







PostPosted: Fri Oct 30, 2009 8:00 am Reply with quote

You can also play with some of their projects in development at google labs, some are webmaster related and some are just to play with...
http://www.googlelabs.com/
new image search
http://similar-images.googlelabs.com/
google squared (new way to search)
http://www.google.com/squared

and even some things that aren't in the lab yet
http://code.google.com/labs/
 
eldorado
Involved
Involved



Joined: Sep 10, 2008
Posts: 424
Location: France,Translator

PostPosted: Sat Oct 31, 2009 6:33 am Reply with quote

spasticdonkey wrote:
I've managed to get lost there for hours at a time Smile

me too... Very Happy 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! 
View user's profile Send private message Visit poster's website MSN Messenger
xGSTQ
Involved
Involved



Joined: Feb 03, 2006
Posts: 269

PostPosted: Fri Nov 13, 2009 7:58 pm Reply with quote

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
 
View user's profile Send private message Send e-mail
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Fri Nov 13, 2009 8:46 pm Reply with quote

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. 
View user's profile Send private message
spasticdonkey







PostPosted: Sat Nov 14, 2009 9:13 am Reply with quote

nice block Smile
i embeded the google ajax search into the nuke search module without too much trouble
how to
http://trickedoutnews.com/ftopict-49.html

sample
to see it live in action checkout
http://www.axis-and-allies.com/search.html

and try a search for something like tank or armor which will return results... also works from the nukeNAV modal search window! Smile
 
papamike
Theme Guru



Joined: Jan 11, 2006
Posts: 170

PostPosted: Thu Aug 04, 2011 12:02 pm Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Thu Aug 04, 2011 12:43 pm Reply with quote

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! 
View user's profile Send private message Visit poster's website
spasticdonkey







PostPosted: Thu Aug 04, 2011 1:58 pm Reply with quote

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 Smile

http://www.rtsforce.com/Demo2.html

still need to figure out how to make it loop.....
 
papamike







PostPosted: Thu Aug 04, 2011 9:29 pm Reply with quote

Could this be applied to messages and news stories blocks? Or would another API be needed?
 
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1775

PostPosted: Wed Aug 10, 2011 6:04 am Reply with quote

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 Smile

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


Last edited by neralex on Wed Aug 10, 2011 2:28 pm; edited 2 times in total 
View user's profile Send private message
spasticdonkey







PostPosted: Wed Aug 10, 2011 2:05 pm Reply with quote

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/
 
neralex







PostPosted: Sat Aug 13, 2011 2:13 pm Reply with quote

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
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©