Developer-Online New Tutorial Released: Create a Flickr gallery using jquery and JSON

Create a Flickr gallery using jquery and JSON
Hello everyone, In this tutorial I'll show how is simple to build your Flickr photo gallery using jQuery framework and JSON. We'll see how to setup thumbnail's numbers, convert your RSS Flickr in a JOSOn format and display theme. Thank You for your attention!
Posted on:                                       2010-01-11 10:20:48
Author: patrizio Quatrini
Best Regards
Waleed Barakat

Heya,
When I first read your post I originally thought you were posting a tutorial about whether a chosen username has already been resigtered or not on the signup page like this tutorial:
http://DwFAQ.info/signup_demo.php
Spry Check Username Availability
Date Created: Sunday, July 5, 2009 2:29 PM
Then after looking at the page you've linked to and trying to understand the objective of the tutorial I've noticed that you are talking about something like this:
http://DwFAQ.info/home.php?id=7
Spry Search
Date Created: Sunday, March 1, 2009 8:51 PM
It's pretty simple to do with the link I've referenced. Simply create your database with populated tables, use the mentioned script to convert the database data into xml syntax, then enter your dynamic database script as the location of the xmlDataSet in the spry page linked.
View source on this page which shows the non-destructive filter in action to see how it's done! You can also spice it up a little for products, etc. by using this method. The key is to create a dynamic xml syntax from your database and then use the dynamic xml script location as your xmlDataSet in the search page.
I have an example of the auto suggest search on my homepage http://DwFAQ.info
On the top-left side of the page click on the link that says Search Tutorials to reveal the search form. Then start typing characters into the search box to see the entries instantly filter according to the characters that are typed. You can also filter further by clicking on the category checkboxes to filter by keywords AND category.
You can view the source code on my homepage to see the location of the dynamic xml syntax referenced as the xmlDataSet location and how it was implemented into the site.

Similar Messages

  • Developer-Online: New Tutorial Released! PHP jQuery Autosuggest Facebook like

    PHP jQuery Autosuggest Facebook like
    Building a database driven auto suggestion box with PHP/MySql and jQuery. We’re going to check what a user has typed in, check against what is in our database and where there is a match, pass the results back in a suggestion list, all via an AJAX call in jQuery.
    Tags: MySQL | php | forms | news | Ajax |
    Author: patrizio Quatrini
    Best Regards
    Waleed Barakat
    Developer-Online Creator and programmer
    www.developer-online.com

    Heya,
    When I first read your post I originally thought you were posting a tutorial about whether a chosen username has already been resigtered or not on the signup page like this tutorial:
    http://DwFAQ.info/signup_demo.php
    Spry Check Username Availability
    Date Created: Sunday, July 5, 2009 2:29 PM
    Then after looking at the page you've linked to and trying to understand the objective of the tutorial I've noticed that you are talking about something like this:
    http://DwFAQ.info/home.php?id=7
    Spry Search
    Date Created: Sunday, March 1, 2009 8:51 PM
    It's pretty simple to do with the link I've referenced. Simply create your database with populated tables, use the mentioned script to convert the database data into xml syntax, then enter your dynamic database script as the location of the xmlDataSet in the spry page linked.
    View source on this page which shows the non-destructive filter in action to see how it's done! You can also spice it up a little for products, etc. by using this method. The key is to create a dynamic xml syntax from your database and then use the dynamic xml script location as your xmlDataSet in the search page.
    I have an example of the auto suggest search on my homepage http://DwFAQ.info
    On the top-left side of the page click on the link that says Search Tutorials to reveal the search form. Then start typing characters into the search box to see the entries instantly filter according to the characters that are typed. You can also filter further by clicking on the category checkboxes to filter by keywords AND category.
    You can view the source code on my homepage to see the location of the dynamic xml syntax referenced as the xmlDataSet location and how it was implemented into the site.

  • Creating short photo gallery using previous and next frame A3.0

    I'm creating a simple photo gallery.
    Can someone tell me the right code this is what I'm remember. I forgot.
    next_btn.addEventListener(MouseEvent.CLICK, goNext);
    previous_btn.addEventListener(MouseEvent.CLICK, goBack);
    function goNext(e:MouseEvent):void {
    gotoAndStop("nextFrame");
    function goBack(e:MouseEvent):void {
    gotoAndStop("previoudFrame");
    I know it's wrong can someone help me out?
    Thanks

    inside your functions use just
    nextFrame();
    and
    prevFrame();
    and get rid of those gotoAndStop and it should work...

  • Developer-Online: Create a Digg login style using jQuery and CSS

    Create a Digg login style using jQuery and CSS
    Hello Friend, today We'll see how to create a Digg Login panel using only CSS3 and a bit of jQuery script. You'll see how is simple present a login feature using a modal window creates by js. You'll find the .ZIP tutorial visiting: http://www.beatfly.com/download.php
    Tags:    tips & tricks | JS
    Author: patrizio Quatrini
    Posted: 2010-02-04 10:57:48
    Brought to you by: Developer-Online

    Thanks Leonard
    On the surface that looks a mighty powerful product that probably goes far beyond what we require. Looking at the system requirements, it seems that some specific Application Servers are needed (is this correct?), which we won't have. Am I correct in thinking this is a modular based product, in that I buy a base product (being LiveCycle ES ... not sure what this product does on it's own) and then add a module such as PDF Generator to it?
    It's difficult to glean from the product web site exactly what this product is all about but my gut feel is it'll be a few steps beyond what we need to achieve. I might be wrong, so feel free to pull me up there but it seems this is along the lines of a total back-end Adobe solution.
    If you have any other suggestions I'd be grateful, otherwise I may need to continue down the "clunky yet serviceable" HTML to PDF route
    Adrian 

  • How to create a notification for new virtual machines created on Hyper-v Using SCOM or another way?

    Hi ,
    We need to  to create a notification for new virtual machines created on Hyper-v Using SCOM or another way
    thanks

    http://sincealtair.blogspot.com/2010/04/how-to-ask-questions-in-technical-forum.html
    Not nearly enough information.
    If you are asking about SCOM, it is better to ask in the SCOM forum -
    http://social.technet.microsoft.com/Forums/en-US/home?forum=operationsmanagergeneral
    .:|:.:|:. tim

  • How to create a dynamic newsflash using dreamweaver and PHP

    Hi there,
       I would like to create a dynamic newsflash using dreamweaver and PHP in that the newsflash will be pulling information from a MySQL database. The newsflash should also have a link to view more information about the piece of news a user wants to know more about. Which tools do I need to use in dreamweaver and how's the procedure to go about that. Any advice is highly appreciated. Thanx in advance!

    I think you´ll need at least a MySQL table with the following columns:
    - id (primary key, int, auto_increment etc)
    - news_headline (varchar)
    - news_teaser (text)
    - news_content (text)
    What I´d personally add are columns such as:
    - news_date (date or datetime)
    - news_external_link (varchar), if a "read more..." link is supposed to navigate to an external URL rather than displaying the contens of the "news_contents" column.
    Based on such a MySQL table it should be easy to use Dreamweavers standard Server Behaviors to create the usual datalist.php, insert.php, update.php and delete.php documents, and there are numerous tutorials out there which will teach you how to do that.
    Am I right when assuming that you´ll also need to know how to automatically pull, say, the 5 most recent news records from the database ?

  • I have just purchased the new Canon 7D II.  I am using CS6 and Lightroom 5.0, neither of which can open the RAW files although I see from the list of supported cameras that the 7D II is covered.  I have updated both CS6 and LR so that is not the problem.

    I have just purchased the new Canon 7D II.  I am using CS6 and Lightroom 5.0, neither of which can open the RAW files although I see from the list of supported cameras that the 7D II is covered.  I have updated both CS6 and LR so that is not the problem.  Not sure what to do next.

    It has been indicated that both of those cameras will be supported in the final release of Camera Raw 8.7. But there is no announced release date. There never is. I assume it will be before December 31. But that is only my guess based on the fact that the release candidate expires then.

  • I need to know how I will create a dynamic website using php and mysql

    I need to know how will I create a dynamic website using php and mysql that people could have the abilities of registering in the website, and modify their profile where they can add their pictures and everything. apart from that, they should have the ability to search about other member. hope to here more from you.

    If you are a right-brained creative, and have no previous experience or propensity to be able to understand coding and database "stuff", and/or if your time can be better spent on other skills, I recommend you save your sanity and hire a developer... or at least the first time around. I have been attempting to grasp this for years... and have a library of marked up books to prove my efforts, all while trying to keep up with an ongoing client base that is always cramped. It's a wonder I still have my sanity... then again, I might not be the best person to determine that. Others might question it.
    That said, I still plan to master php... one of these days.

  • I have created an iPhone app using xCode and am now ready to publish it. Do I have to sign up to the $99/yr program in order to get a certificate?

    I have created an iPhone app using xCode and am now ready to publish it. Do I have to sign up to the $99/yr program in order to get a certificate? I keep getting the error message: CodeSign Error: code signing is required...although the app tests fine on the simulator. Does this mean that I need to pay the $99 to create the app or do you only need to pay if you want it published on iTunes?
    Any advice will be gratefully received.

    App Store Resource Center - Apple Developer

  • New HttpSession always created instead of re-used

    Hi,
              I've noticed there are a lot of questions about the use of HttpSessions
              in WL 5.1 and
              I'm also having problems.
              I have a servlet that is creating an HttpSession like this;
              HttpSession session = request.getSession(true);
              The first time I call this servlet it creates a new session - however in
              this servlet's
              page I allow the user to look at what is contained in their session
              object (their envelope
              of shopping items). Every time the user invokes the servlet again by
              selecting their
              'envelope' instead of looking in their current session object a new one
              is created.
              Therefore I can't maintain state of the servlet containing the envelope
              items.
              It sounds like other folks are having this problem as well. My servlet
              is in a web application.
              My weblogic.properties file has these entries;
              weblogic.httpd.session.enable=true
              weblogic.httpd.session.persistence=false
              // I've tried it with persistence=true also
              The problems with sessions occurs on both Netscape and IE although both
              of them
              have cookies enabled.
              Any ideas what the problem is? Is there some setting in
              weblogic.properties I need to
              add to get sessions to be persistent between servlet invocations?
              Thanks,
              Susan Cline
              [email protected]
              

    And does the servlet which is run from the envelope use getSession( true )?
              or getSession( false )?
              If you're using true all the time, you're destroying the session.
              "Susan Cline" <[email protected]> wrote in message
              news:[email protected]...
              > Hi,
              >
              > I've noticed there are a lot of questions about the use of HttpSessions
              > in WL 5.1 and
              > I'm also having problems.
              >
              > I have a servlet that is creating an HttpSession like this;
              >
              > HttpSession session = request.getSession(true);
              >
              > The first time I call this servlet it creates a new session - however in
              > this servlet's
              > page I allow the user to look at what is contained in their session
              > object (their envelope
              > of shopping items). Every time the user invokes the servlet again by
              > selecting their
              > 'envelope' instead of looking in their current session object a new one
              > is created.
              > Therefore I can't maintain state of the servlet containing the envelope
              > items.
              >
              > It sounds like other folks are having this problem as well. My servlet
              > is in a web application.
              > My weblogic.properties file has these entries;
              >
              > weblogic.httpd.session.enable=true
              > weblogic.httpd.session.persistence=false
              > // I've tried it with persistence=true also
              >
              > The problems with sessions occurs on both Netscape and IE although both
              > of them
              > have cookies enabled.
              >
              > Any ideas what the problem is? Is there some setting in
              > weblogic.properties I need to
              > add to get sessions to be persistent between servlet invocations?
              >
              > Thanks,
              >
              > Susan Cline
              > [email protected]
              >
              

  • Any tutorials on creating a simple Login using Mysql and sessions?

    Hey guys. I cannot seem to find any information(online) or books that cover sessions in JSF and how to do a simple log in. I can get the application to query a mysql table and check the credentials and go to the next page, but I'm not sure how to make that page locked from non authorized access. I am very familiar with PHP and using it to create database driven applications. It's very straightforward, making safe logins using mysql, and creating sessions once the user has logged in(making pages locked unless the user is logged in, etc).. I have the core java server faces book but it's a joke. I feel like its an incomplete book. It merely skims a topic, and when you think it's going to get interesting it moves on to something else. It teaches basic stuff but nothing of what I want to do(or need to do). The older Javaserver faces book that came out in 2004 from O'Reilly doesn't seem to help either. I'm just wondering where people learn JSF at. I know Java, I would say pretty well as far as desktop applications go. I really like the way JSF is layed out and would really like to use it in my next project. At the level I know it now it's perfect for static web pages with no dynamic information.(but I could use plain html for that). Thanks for all your help.

    dothedru22 wrote:
    but I'm not sure how to make that page locked from non authorized access.You can use a Filter for that. Map the filter on the desired url-pattern and write doFilter() logic which checks if the user is logged in (basically: if there is an User object in the HttpSession) and handle accordingly (chain.doFilter() on success or response.sendRedirect on fail).
    and creating sessions once the user has logged in(making pages locked unless the user is logged in, etc).. The HttpSession is backed by a cookie (as is PHP's $_SESSION, did you know that?), you don't need to do any low-level stuff with cookies. Maybe at highest if you ever want a "remember me on this computer" option.
    booksThe mentioned books learns you the JSF basics. They doesn't really learn the best practices / practical use cases. There you have other resources for (or just practical experiences). Besides, I recommend you to go get a book which covers JSF 1.2 or newer. The mentioned ones are outdated, as is everything else older dan two years in the programming world.

  • How to create a crystal Report using C# and SQL Server

    Hi, im new in creating crystal report using SQL Server, and im making a project.. and could someone help me how to connect your .sdf (SQL Server File) from the bin to your crystal report? thanks a lot.. i followed some instructions like this one (https://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?forum=csharpgeneral)
    but i got an error on the adding of server name and database portion.. thanks a lot in advance

    Hello,
    Crystal Reports are supported on
    http://scn.sap.com/community/crystal-reports.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Create Records through OData using Jquery

    Hi All,
    I have created a OData Service in SAP ECC system in format
    http://hostname:portno/sap/opu/odata/sap/Z_PORDER_SRV/PurchaseOrderHeaderCollection
    I am trying to create a record from front end using JQuery.   I am able to retrieve all the records, but creation of records using Method "POST" fails.
    For creating records, using the method "GET", i fetch the token "X-CSRF-Token" and then pass the token to the "POST" method.
    I am getting an Exception "No Handler for Data" error is coming.   I am accessing the OData Service using the datajs framework.
    (datajs-1.1.1.min.js).
    Please help me in resolving this issue.
    Thanks,
    Divya

    Thanks for the reply Jamie.
    Code:
    OData.request({
                   "http://host:port/sap/opu/odata/sap/Z_PORDER_SRV/PurchaseOrderHeaderCollection",     
                    method : "GET",
                    user: Customer_Username, 
                    password: Customer_Password,
                    headers :
                           "X-Requested-With" : "XMLHttpRequest",
                            "Content-Type" : "application/XML",
                           "DataServiceVersion" : "2.0",
                           "X-CSRF-Token" : "Fetch"
              function(data, response)
                            var header_xcsrf_token = response.headers['x-csrf-token'];
                            OData.request(
                                    requestUri :    "http://host:portno/sap/opu/odata/sap/Z_PORDER_SRV/PurchaseOrderHeaderCollection",                     
                                    method : "POST",                 
                                    user: Customer_Username, 
                                    password: Customer_Password, 
                                    headers :
                                           "X-Requested-With" : "XMLHttpRequest",
                                          "Content-Type" : "application/XML",
                                          "DataServiceVersion" : "2.0",                      
                                          "X-CSRF-Token" : header_xcsrf_token
                                  data: 
                                     PONumber:"4500000091",
                                     CompanyCode:"TVSC",
                                     PurchaseDocCategory:"F",
                                     PurchaseDocType:"NB",
                                     PurchaseDocStatus:"9", 
                                     CreatedBy: "", 
                                     VendorAccountNumber:"V1",
                                     PurchaseOrganization:"PO01",
                                     PurchaseOrgGroup:"101",                      
                                     TotalValueAtRelase:"0.00",
                                      POItem: "00010",
                                      Material:"",
                                      MaterialNumber: "000000000000000011",
                                      Plant: "PL01",
                                      MaterialGroup: "01",
                                      TargetQuantity: "0.000",
                                      Quantity: "5.000",
                                      Unit: "ST",
                                      OrderPriceUnit:"ST",
                                      NetPrice: "10.0000",
                                      PriceUnit:1,
                                      GrossValue:"0.0000",
                                      NetValue:"0.0000",
                                      NetWeight:"0.000",
                                      WeightUnit:"",
                                     MaterialType:"",
                                     PurchaseOrderHeaderPONumber:"",
                                     PurchaseOrderHeaderPONumber1:""
                      function(data,response)
                           alert('Success. Created New Record');
                      function(err1)
                          alert('Error in Create Record...'+err1.message);
                     function(err)
                            alert('error....'+err.message);
    Output
    I get an error message "Error in Create Record. "No Handler for Data".
    I tried entering the header  details alone and also by entering the line items. Still the same error is thrown.
    Please Help.
    Thanks,
    Divya

  • Creating a photo gallery using behaviors?

    I am re-designing a website, and I'm a little stuck on how to re-create the photo gallery presentation of the original web site. Here is the original gallery:
    http://www.sarahegeller.com/photos
    What I'd specifically like to reproduce is the ability to click on a thumbnail, which would bring up the larger image, but with the original window remaining behind, greyed out. I assume this is something I can do with behaviors, but there doesn't seem to be a behavior that addresses this, at least among the behaviors dreamweaver CS 3 comes with. I assume a behavior that would give me the effect I want exists on the dreamweaver exchange, but I couldn't find one. Am I even correct in assuming I could achieve the effect I'm looking for using a behavior?
    I'm using dreamweaver CS 3, on a mac.
    Thanks for taking the time to read this query.
    Yours,
    Nick

    The effect you're aiming for is a currently popular one known as a Lightbox.
    There is no in built Dreamweaver behaviour for this. You'll need to look for 3rd party solutions such as jQuery.
    From the page code:
    <script type="text/javascript" src="/sites/all/modules/lightbox2/js/auto_image_handling.js"></script>
    <script type="text/javascript" src="/sites/all/modules/lightbox2/js/lightbox.js"></script>
    The effect on that particular site is created with a Drupal module: Lightbox2
    http://drupal.org/project/lightbox2
    You may be able to use:
    http://www.lokeshdhakar.com/projects/lightbox2/

  • Prob creating ABAP Proxy-Interface use external and interna msg definition

    Hi,
    I've created a service interface using external definition (message type for request and response), imported via WSDL file. However, while creating ABAP proxy in SPROXY, it gave the error message "Interface uses external and internal message definition". I searched through the forum, the questions were raised but no definite answer was found. Is it not possible to generate a proxy if there is any external definition used?
    Details of the error message:
    Message no. SPRX122
    Diagnosis
    In a message interface you can use messages from different sources:
    Message types and fault message types edited in the Enterprise Services Repository
    Messages imported into the Enterprise Services Repository (external definitions, RFC, IDoc)
    In the current message interface, message types from different sources have been used. Since messages from these different sources must be handled differently during proxy generation, such a mixture of messages within a message interface is not possible.
    System Response
    The interface cannot be generated.
    Procedure
    Change the interface definition accordingly in the Enterprise Services Repository.
    p/s: My external definition is actually derived from a ABAP FM web service. The reason why i used external definition is that i try to avoid the tedious steps of hard-coding all the data types for the request and response message types.
    Any help would be highly appreciated.
    - julius

    Hi Arvind,
    For technical reasons, proxy generation and the respective editors in the Integration Builder do not support the entire language range of XML schema and WSDL. For an overview of which language elements are supported, see the Excel spreadsheet in the SAP Service Marketplace at service.sap.com/xi ® Media Library ® Documentation: SAP XI 3.0 (SP11) u2013 Supported XML Schema and WSDL (EN).
    I couldnt find the above document in the service market place. Any hint to find it?
    Thanks.
    - julius

Maybe you are looking for

  • How to do development on Weblogic Portal ( 10.3.2 )

    Im trying to do Weblogic Portal Development as described in http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14252.pdf But When I downloaded the latest Weblogic Eclipse IDE ( OEPE ) ( Oracle Enterprise Pack for Eclipse ), I do not see the Porta

  • How to configure JSpinner to accept number of hours (with mins and secs)

    I'm having a problem trying to figure out a simple way to enable a JSpinner to do allow the input in this format: n hours : n minutes : n seconds ex: 100 : 0 : 0, 1:59:59, 25:30:00 Where n hours could be from 0-n (not restricted by 24 hours) and minu

  • Need to modify the existing ALE for HR to add Non-HR data to it

    Hello Experts,                     We have 2 SAP systems. System A sends data through ALE/IDOC to System B message type HRMD_ABA. Is there is a way the current system be modify to send more data from System A (table USR02, when particular field got c

  • RMI OC4J 10.1.2.0.2 -- OC4J 9.0.3.0.0

    Hi there, my EJB client runs in an OC4J 10.1.2.0.2 instance. The EJB server runs in an OC4J 9.0.3.0.0 instance. The client can invoke the remote method and pass arguments. The client receives exceptions from the server, BUT no return values. I always

  • N96 search bookmarks problem

    I have an N96 and when I do a search it finds a webpage that I navigated ages ago to under "bookmarks". This page however is NOT stored in my bookmarks! It is actually listed twice in the search results which is also strange. How do I get rid of it?