Next/previous links?  Duke dollars...

I am offering Duke Dollars for help in creating next/previous links here:
http://forum.java.sun.com/thread.jsp?forum=45&thread=183010
I was told that I should ask here as there may be more help here...

Actually I think that respondant was suggesting that you search the JDBC forum - they had already posted some information in here.

Similar Messages

  • Next/Previous link for products?

    How can I add a Next/Previous button that navigates to the next product in a catalog, on the large product html page of an ecoomerce layout?

    Hi Juliaor,
    Did you have any luck with adding a next / previous button that navigates the the next product in the catalog from the large product layout pages?
    We tried:
    {tag_previouspage,} 
    {tag_pagination}
    {tag_nextpage,}
    but this only works on catalogues when there are more products than the amount that fits on the catalogue page (e.g when the catalogue page goes over multiple pages).
    Would love any help

  • Giving next / previous a brain?

    Hello;
    I wrote a next previous nav for editing records on my web
    site. I also on one of the same pages, have it filtering records by
    the category. If a user wants to see all the records they can, or
    if they select from a list on another page, they get the "products"
    associated to that category.
    Before I added the next / previous, numbered page nav, it
    worked fine, sorting products to only the ones selected by the cat,
    and showing all if selected. Once I added the nav, it would show
    the catagoried products but once you click, next or page 2 you
    would get them all back. How do I make the next / previous remember
    what to do?
    Here is my code:
    <cfquery name="getProjects" datasource="#sitedatasource#"
    username="#siteUserID#" password="#sitePassword#">
    SELECT Projects.Name AS PName, Projects.ProjectID AS ID,
    Categories.Name AS CName, Categories.CategoryID
    FROM Projects INNER JOIN Categories ON projects.CategoryID =
    Categories.CategoryID
    <cfif StructKeyExists(url, 'ID')>
    WHERE Categories.CategoryID = <cfqueryparam
    CFSQLType="CF_SQL_INTEGER" value="#URL.ID#" />
    ORDER BY Projects.Name
    <cfelse>
    ORDER BY Categories.Name
    </cfif>
    </cfquery>
    <cfset rowsPerPage = 6>
    <cfparam name="URL.startRow" default="1"
    type="numeric">
    <cfset totalRows = getProjects.recordCount>
    <cfset endRow = min(URL.startRow + rowsPerPage - 1,
    totalRows)>
    <cfset startRowNext = endRow + 1>
    <cfset startRowBack = URL.startRow - rowsPerPage>
    <head>
    </head>
    <body>
    <cfloop query="getProjects" startRow="#URL.startRow#"
    endrow="#endRow#">
    <cfoutput>
    My output records go here
    </cfoutput>
    </cfloop>
    <cfoutput>
    <cfset thisPage = 1>
    <cfloop from="1" to="#totalRows#" step="#rowsPerPage#"
    index="pageRow">
    <cfset isCurrentPage = (pageRow gte URL.startRow) and
    (pageRow lte endRow)>
    <cfif isCurrentPage>
    <cfoutput>
    #thisPage#
    </cfoutput><cfelse><cfoutput>
    <a href="#CGI.script_name#?startRow=#pageRow#"
    class="navA">#thisPage#</a></cfoutput></cfif>
    <cfset thisPage = thisPage + 1>
    </cfloop>
    <cfif startRowBack GT 0><a
    href="#CGI.script_name#?startRow=#startRowBack#"
    class="navA">&lt; Previous Records</a></cfif>
    <cfif startRowNext lte totalRows><a
    href="#CGI.script_name#?startRow=#startRowNext#"
    class="navA">Next Records &gt; </a></cfif>
    </cfoutput>
    </body>
    My next / prev buttons work nice, they just don't have the
    memory of what was filtered or not filtered. Can someone help me
    write this out so it has a brain?
    Thank you.
    Phoenix

    You can either store the value of URL.ID in a session
    variable to carry it over next/previous changes and update it when
    ever the ID is changed or you can add the URL.ID back into the
    next/previous link definitions as in:
    <cfif startRowBack GT 0><a href="#CGI.script_name#?
    id=#URL.ID#&startRow=#startRowBack#"
    class="navA">&lt; Previous Records</a></cfif>
    <cfif startRowNext lte totalRows><a
    href="#CGI.script_name#?
    id=#URL.ID#&startRow=#startRowNext#"
    class="navA">Next Records &gt; </a></cfif>
    HTH
    CR

  • Next-Previous Do not work Properly for lengthly dynamic Where Clause

    I have created a View object using Expert Query mode
    with following Query:
    SELECT LIC_SYS_ID,
    LIC_NAME,
    TERRITORIES,
    LANGUAGES,
    MEDIA,
    SEGMENT_NAME,
    CHANNELS,
    ACTIVITY_CD,
    LS.LIC_SHORT_NAME,
    LS.LIC_AKA_NAME
    FROM V_LICENSEE_SEARCH LS
    ORDER BY LIC_NAME
    Then at run time the following Where Clause staments get added by in JSP based on the users criteria
    wClause = "(ACTIVITY_CD = '" + activityStatus + "')"
    + " AND " +
    "(LIC_NAME like '" + licenseeName + "%' OR " +
    " LIC_SHORT_NAME like '" + licenseeName + "%' OR " +
    " LIC_AKA_NAME like '" + licenseeName + "%' ) "
    In this case the DataScroller does not work properly It DataTable traves only one setp when I click the "Next" link, But if I use the Drop down list of the Scroller its works fine.
    Secondly the "Next" "Previous" links of the DataScroller work fine if I use only one stmt in the WhereClause ex: "ACTIVITY_CD LIKE 'A%'".
    Can anybody help me with this, Is this a limitation of DataScroller/DataTable/DataSource tags why does it not work??
    Please help me its urgent.
    Thanks a ton !!

    Thx for the reply, I did try your suggestion It did not throw any exception. Here is the log messages after enabling jbo Debug.
    [391] Reusing a cached session application module instance
    [392] Getting a connection for internal use...
    [393] Creating internal connection...
    [394] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    wClause : (ACTIVITY_CD = 'A') AND (LIC_NAME like 'A%' OR LIC_SHORT_NAME like 'A%' OR LIC_AKA_NAME like 'A%' )
    [395] Column count: 10
    [396] ViewObject : Reusing defined prepared Statement
    [397] $$added root$$ id=-2
    [398] Application Module failover is enabled
    [399] Getting a connection for internal use...
    [400] Creating internal connection...
    [401] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [402] <AM MomVer="0">
    <cd/>
    <VO>
    <VO Sz="8" St="8" Def="com.sophoi.ipls.media.tv.businessentities.licensee.LicenseeView" Name="licenseeView">
    <Wh>
    <![CDATA[(ACTIVITY_CD = 'A') AND (LIC_NAME like 'A%' OR  LIC_SHORT_NAME like 'A%' OR  LIC_AKA_NAME  like 'A%' )]]>
    </Wh>
    <Or>
    <![CDATA[LIC_NAME ASC]]>
    </Or>
    </VO>
    </VO>
    </AM>Long postings are being truncated to ~1 kB at this time.

  • Differentiate Next and Previous link click events in Table Region

    Hello,
    Is there a way to find out whether "Next" link or the "Previous" link was clicked in a Table region when the user tries to navigate to a different range set?
    Both "Next" and "Previous" links raise the event "goto". I need to manipulate the range start and range size of another VO. i.e., if Next was clicked I would want to increase the range start of another VO and If "Pevious" was clicked, I would want to decrease this range start.
    Thanks
    Raja

    Yes, this is clearly explained in dev guide, see Event Handling in table section in dev guide.
    --Mukul                                                                                                                                                                                                                           

  • Cheap problem with duke dollars

    i have 17 duke dollars but i can not give then
    along with questions i ask...
    what to do...

    At the top of the thread, you should see a link saying "assign Duke Dollars". Click on this, and select how many from the drop-down box. Then click on the button "Assign Duke Dollars".
    Next go back to the thread, and by each person's name you should see a little picture of a Duke with a green +. Click on that to assign Dukes to that person.

  • How do you add Duke Dollars to a post???

    How do you get the little Duke Dollars thingy to show up next to your post? There are no buttons to do so on the page where I'm ttyping this, nor on the preview page. Nor does it say anything about it in the Duke Dollars FAQ.

    Oh never mind! I saw the option to add Dukes appear after the message was posted.
    IMHO you should be able to add Dukes either on the form or the preview page.

  • CF Set form.variable for query and Next/Previous pages error

    I have a CF form with a select that posts to a CF "action" page.
    On the action page I: CFSET ItemNumber=#form.ItemNumber#
    I CFOUTPUT the 'ItemNumber' into the CFQUERY (which is an Inner Join dependant on the '#ItemNumber#')...
    All of the above works just fine and displays the database fields in color alternating rows, per the rest of the code.
    Here's the problem:
    I'm displaying 40 rows on a page per "Next and Previous" code. (CFPARAM name="start" default="1" and CFPARAM name="disp" default="40" along with the rest of the NextN code in the header and body). This does display 40 rows on the page and puts a link at the bottom of the page "Next 40 Rows", etc.
    Note: I'm only querying the database once and using the query (query name="data") to populate the table rows And the NextN code (CFOUTPUT name="data") And (CFIF start + disp GREATER THAN data.RecordCount, etc)...
    The problem happens when you click the "Next 40 Rows" link to display the 2nd page of rows. Since (I'm assuming) this NextN code is 're-reading' the same page from top to bottom, an error is thrown when the code tries to read the CFSET ItemNumber=#form.ItemNumber# at the top of the page.
    With the #form.ItemNumber# on this action page Originally coming from the previous posting of the form to this action page, when the "Next 40 Rows" link is clicked and the NextN code re-reads this action page - the CFSET ItemNumber (#form.ItemNumber) is not getting populated and throws the error...
    I hope I've not made this sound confusing.
    I can get the NextN code to work when I'm just querying the database without "flying in" a form variable. But when I CFSET a variable (#form.ItemNumber#) that is inserted into the query, the second page of the NextN throws an error and doesn't display.
    I would include the page code here but it would be fairly lengthy and, as well, the NextN code is a 'standard' CF code -- I've narrowed the problem down to the above "Element is undefined" (when the page tries to reload from the "Next 40 Rows" link) and am hoping there's a simple fix or another way to display the records in Next and Previous pages.
    Thanks to anyone in advance for shedding light on this.
    - e

    Thank you for the reply, Owain.
    Yes - The Next/Previous at the bottom of the page are hyperlinks.
    <a href="ThisPage.cfm?start=#Evaluate("start + disp")#">
    The following is at the top of the page (and is the variable from the form that I CFOUTPUT in the query):
    <cfparam name="ItemNumberDropdown01" default="">
    <cfset ItemNumber = #form.ItemNumberDropdown01#>
    The error report showed that the "Next Page" hyperlink was reading an undefined variable... although when the "action page" first opens from the form posting to it, it populates the CFSET just fine (per the cfparam and cfset above)... As you mention, the hyperlink clearing the form scope is what causes the error in trying to display the next set of records...
    The form page and the 'action page' are both secure pages with an application page setting the session, etc. Am I at risk in using an URL scope?
    Where would this URL scope be put? (The href is shown above - would the URL scope go in this? - How would this be written?)
    The CFPARAM and CFSET would still exist at the top of the 'action page' and still throw an error wouldn't it or would this be replaced with something else to read the form.variable for this 'first' action page to be displayed?
    Thanks again for the 'education' on this...
    - ed

  • Xml gallery with thumbnails & next/previous buttons.

    hallo all the wise people,
    sorry to bother you, but i'm kind of desperate, and nobody around to ask, so....
    i've spend now three full days editing an xml gallery... to my needs, and always goes messy, so maybe it's time give up and make my own from the scratch, or looking from a one closer to my needs =/ (helpless).
    could anyone help - maybe any of you by some chance knows a link as close as possible to tutorial/source as3 fla to sthg as close as possible to this:
    a) xml gallery
    b) thumbnails
    c) when thumbnail clicked a big picture shows
    d) next/previous buttons possible
    otherwise, i can also post the code of my gallery where i absolutely can't add next/previous buttons without making a big mess =/
    i will be totally youbie doubie grateful for any help... any, if you only know any good link, 'll try to fugure out a tutorial or edit the source myself....
    thanks in advance

    heyyyo wise one,
    at least this is really  nice of you to ask -  this gallery really makes me by now feel twice as blond as i am 8-0. but this is kinda really nested.
    the xml structure goes like this (this is easy and more or, less standard)(Caption is neglectable, probabaly i will not even display it, unless i have some extra time):
    <MenuItem>
             <picnum>01</picnum>
             <thumb>thumbs/Image00001.jpg</thumb>  
             <picture>Image00001.jpg</picture>
       <Caption>Fist Title</Caption> 
    </MenuItem>
    uaaha, then the as goes. there is the URLloader, but also two different loaders inside (one for the thumbnails, one for the big picture). and this is all inside a for each loop -eh... i was always trying to change the pictLdr behavior - the loader, that loads the big picture.
    anyway the URL loader, and the main function, which is attached to it go like this:
    var myXML:XML = new XML();
    var XML_URL:String = "gallery_config.xml";
    var myXMLURL:URLRequest = new URLRequest(XML_URL);
    var myLoader:URLLoader = new URLLoader(myXMLURL);
    myLoader.addEventListener("complete", xmlLoaded);
    // Create the xmlLoaded function
    function xmlLoaded(event:Event):void
    // Place the xml data into the myXML object
        myXML = XML(myLoader.data);
        // Initialize and give var name to the new external XMLDocument
    var xmlDoc:XMLDocument = new XMLDocument();
    // Ignore spacing around nodes
        xmlDoc.ignoreWhite = true;
    // Define a new name for the loaded XML that is the data in myLoader
        var menuXML:XML = XML(myLoader.data);
    // Parse the XML data into a readable format
        xmlDoc.parseXML(menuXML.toXMLString());
        // Access the value of the "galleryFolder" node in our external XML file
    for each (var galleryFolder:XML in myXML..galleryFolder)
       // Access the value of the "pagenum" node in our external XML file
               var galleryDir:String = galleryFolder.toString();
    //trace (galleryDir);
    //trace (galleryFolder);//output taki sam jak powyżej
    // inicjuję variable flag, która bedzie trzsymac nazwę klikniętego thumbnail
    var flag2:String = null;
    // Set the index number of our loop, increments automatically
    var i:Number = 0;
    // Run the "for each" loop to iterate through all of the menu items listed in the external XML file
    for each (var MenuItem:XML in myXML..MenuItem)
    // Access the value of the "picnum" node in our external XML file
        var picnum:String = MenuItem.picnum.toString();
    // Access the value of the "pagetext" node in our external XML file
        var Caption:String = MenuItem.Caption.toString();
    // Access the value of the "thumb" node in our external XML file
        var thumb:String = MenuItem.thumb.toString();
    // Access the value of the "pagepicture" node in our external XML file
        var picture:String = MenuItem.picture.toString();
    // Just some trace I used for testing, tracing helps debug and fix errors
    //trace(picnum);
    var thumbLdr:Loader = new Loader();
        var thumbURLReq:URLRequest = new URLRequest(galleryDir + thumb);
        thumbLdr.load(thumbURLReq);
    // Create MovieClip holder for each thumb
    var thumb_mc = new MovieClip();
    thumb_mc.addChild(thumbLdr);
    addChildAt(thumb_mc, 1);
      // Create the rectangle used for the clickable button we will place over each thumb
      var rect:Shape = new Shape;
      rect.graphics.beginFill(0xFFFFFF);
      rect.graphics.lineStyle(1, 0x999999);
      rect.graphics.drawRect(0, 0, 80, 80);      
      // Create MovieClip holder for each button, and put that rectangle in it,
      // make button mode true and set it to invisible
      var clip_mc = new MovieClip();
      clip_mc.addChild(rect);
      addChild(clip_mc);
      clip_mc.buttonMode = true;
      clip_mc.alpha = .0;
         // The following four conditionals create the images where the images will live on stage
      // by adjusting math through each row we make sure they are laid out good and not stacked
      // all on top of one another, or spread out in one long row, we need 4 rows, so the math follows
      if (picnum < "05")
           line1xpos = line1xpos + distance; // These lines place row 1 on stage
        clip_mc.x = line1xpos;
        clip_mc.y = yPlacement;
        thumb_mc.x = line1xpos;
        thumb_mc.y = yPlacement;
       else  if (picnum > "04" && picnum < "11")
        line2xpos = line2xpos + distance; // These lines place row 2 on stage  
        clip_mc.x = line2xpos;
        clip_mc.y = 86;
        thumb_mc.x = line2xpos;
        thumb_mc.y = 86;
       else  if (picnum > "10" && picnum < "14")
        line3xpos = line3xpos + distance; // These lines place row 3 on stage
        clip_mc.x = line3xpos;
        clip_mc.y = 172;
        thumb_mc.x = line3xpos;
        thumb_mc.y = 172;
       else  if (picnum > "13" && picnum < "21")
       line4xpos = line4xpos + distance; // These lines place row 4 on stage
       clip_mc.x = line4xpos;
       clip_mc.y = 258;
       thumb_mc.x = line4xpos;
       thumb_mc.y = 258;
       // And now we create the pic loader for the larger images, and load it into "pictLdr"
       var pictLdr:Loader = new Loader();
       var pictURL:String = picture;
          var pictURLReq:URLRequest = new URLRequest(galleryDir + picture);
       //var pictURLReq:URLRequest = new URLRequest("gallery/Image00004.jpg");sprawia,ze zawsze wyswitla sie jeden obrazek
          pictLdr.load(pictURLReq);
       // Access the pic value and ready it for setting up the Click listener, and function
          clip_mc.clickToPic = pictLdr;
       // Access the text value and ready it for setting up the Click listener, and function
       clip_mc.clickToText = Caption;
       //var instName:String = flag();
       // Add the mouse event listener to the moviClip button for clicking
          clip_mc.addEventListener (MouseEvent.CLICK, clipClick);
          // Set the function for what happens when that button gets clicked
       function clipClick(e:Event):void
         // Populate the parent clip named frameSlide with all of the necessary data
         MovieClip(parent).frameSlide.gotoAndPlay("show"); // Makes it appear(slide down)
         MovieClip(parent).frameSlide.caption_txt.text = e.target.clickToText; // Adds the caption
         MovieClip(parent).frameSlide.frame_mc.addChild(e.target.clickToPic); // Adds the big pic
       } // This closes the "for each" loop
    } // And this closes the xmlLoaded function
    and the effect looks like this (it's a sketch, so big pictures are loaded randomly, don;t put too much attention to it): http://bangbangdesign.pl/xmlGallery/gallery29.swf
    but i guess it's a terrible stuff to go through all this. i would be totallly satisfied with a likng to a good tutorial to do it from scratch, or just a hint where to start rebuilding this.
    + in any case i send greetinngs to whereever you are =]

  • Move next/previous buttons in a region with over 100 items

    Hi,
    Is there a way to show items in a region in chunks and then have a move next/previous buttons. I have a region on a page that has over 100 items how can I show 10 items a time and then have move next/previous buttons. I am using 10.1.2.0.2
    Thanks

    In the "what to search" tab, select the pagegroup where stands your page.
    below teh pagegroup selection you got an option named "Which pages should be searched?"
    Browse to your page.
    Leave the search criterias blank (so taht the portlet won't make any filter)
    In the "results display" tab, select the pagination.
    Now, your portlet will display all items on your page.
    The best way to use it is to put all your items on page1.
    Create a page2 with only this portlet configured to serach for all items on page1.
    In your portal, just make a link to page2.
    hope this will be helpfull.

  • I wanna assign you ALL my Duke Dollars....

    ...for a new question i have BUT b4 I can do that I need to retrive back the duke dollars from my earlier messages that haven't been answered and have my dollars gathering dust...how on earth do i do that?

    Silkm I have no issues with assigning you all my dukes from all those earlier questions...just go there, type anything and I will assign them to you if u can solve my query...
    It's gotta do with setting the classpath...and yes, i have already been thru google and forums here...
    This is what i do:
    - Start>Control Panel>System>Advanced>Environment Variables
    - Click on Path in the System Variables section
    - Click Edit and add C:\Program Files\Java\j2re1.4.1_01\bin AFTER %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Files\Common Files\Adaptec Shared\System;
    - Next I go to DOS and get my C prompt to C:\Program Files\Java\j2re1.4.1_01\bin
    - I type javac helloworld.java and ENTER
    - I get "javac is not recognised as an internal or external command, operable program or batch file"
    So then I go back to Start>Control Panel>System>Advanced>Environment Variables
    - This time I click on New in the "User Variables for Gaurav" section(that's me) - after all i am logged in as Gaurav on my XP machine!
    - I type Path in Variable Name and C:\Program Files\Java\j2re1.4.1_01\bin in Variable Value
    - Save
    - goto DOS
    - type helloworld.java and get "javac is not recognised as an internal or external command, operable program or batch file"
    BTW i have installed j2re-1_4_1_01-windows-i586 on a XP machine
    HELP!

  • Next/previous inside the movie Clip.

    Hi,
    I try to made Next/previous inside the movie Clip.But When I try to this next previous animation inside movie clip but not working.
    I have attached both sample files.
    The files are on following link:
    http://www.4shared.com/file/125612766/28c58a99/fla.html

    your code was _root.gotoAndStop(contor+1); but your root level only had 1 frame. I took out the "_root." and it worked fine. Here is the working file.

  • Has anyone implemented - Next/Previous Paging in a datagrid??

    Hi,
    Can someone provide some sample code or a link that shows how
    to use paging with a datagrid? I want to display the first 25
    records in my datagrid, and allow the user to go to 26-50 - 51-75
    or whatever.
    How can I do this?
    -Malik

    Look:
    http://www.brucephillips.name/blog/index.cfm/2006/11/29/Paging-Using-Next--Previous-Throug h-Records-Displayed-In-A-Flex-DataGrid#more

  • Duke Dollars, What are they and why are they in this forum?

    Hi,
    Can somebody please tell me what duke dollars are and why they are in this forum? some topics have duke dollars, but don't know what that means.
    Thanks in advance
    Arjen

    hahahahha... the moment i posted this topic, i received the link to assigning dollars to a topic as well as a link to what duke dollars are. :) lol

  • Conditional function for next/prev links in gallery

    Has anyone written a function to conditionally show/hide the
    next/prev
    links?
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technologies, Inc.
    =============================
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/

    Maybe that was poor phrasing. I'm wanting to the links only
    when necessary.
    I don't them to loop. In other words I only want the previous
    button
    available when there is a previous image. So it wouldn't show
    on the first
    image. The same with the next link.
    Bryan Ashcraft (remove brain to reply)
    Macromedia Certified Dreamweaver Developer
    Paragon Visuals ::
    http://www.paragonvisuals.com
    Adobe Community Expert (DW) ::
    http://www.macromedia.com/go/team/
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Got Questions? Get Answers
    DWFAQ ::
    http://www.dwfaq.com
    PVII ::
    http://www.projectseven.com/go/
    "kinblas" <[email protected]> wrote in
    message
    news:e5ublf$kr4$[email protected]..
    > Just curious ... why would you want to conditionally
    hide them as opposed
    > to just removing them? What would your condition be?
    >
    > --== Kin ==--

Maybe you are looking for

  • RMAN 11gr2 ORA-00308 when dulplicate database from active

    Hi, I'm trying to clone a production database (Oracle 11.2.0.3) from HP-UX IA64 to Solaris 10 (Sparc 64) (source on Filesystem, target on ASM) the previous steps was done (same oracle software installation, same patches, sqlnet comunication, etc.) bu

  • How do I properly set up Live Previewing (Brackets)

    I just recently came across Bracket and I am super excited about it and can't wait to dive in. My problem right out the gate is I can't for the life me configure the Live Previewing to work properly. That is why I am here. I have read Here is what I

  • Some times my pictures was saved but some times not

    Some times my pictures was saved but some times not

  • IBM Thinkpad Z60t help

    Well I reinstalled windows xp pro sp 2 on my grandpa's old ibm thinkpad model Z60t, because he gave it to me and i didn't need half the stuff on the hard drive. So I reinstalled xp and I don't have any driver disks or backup discs. So I went to the L

  • Trying to share an album on facebook but set up permission keeps crashing

    Trying to share an album on facebook. As usual, the pop up asks "Do you want to set up iPhoto to publish to facebook?" - as usual I click "Set Up". As usual, new "window/pop up" opens and asks for facebook password ... I type my password and then it