Pages

About

Welcome to my blog! I will write about Oracle APEX and some tips and tricks how to develop good Oracle APEX application.

My name is Nihad Haskovic! I am 37 years old and I live in Germany. Actually I came from Visoko small city near Sarajevo, Bosnia and Herzegovina. I am freelancer
First experience with Oracle APEX I had back in 2007. Since then i developed a lot application in Oracle APEX. I have also experience in Oracle Forms, Oracle Reports, SQL and PL/SQL.

7 comments:

  1. Hi,

    thanks for your work on Image Gallery plugin,
    I have a question,
    Would it be possible to pop up the first image in the gallery as soon as the region is displayed.
    Something like force a click() on the first image with out the user input.
    I can not come with the java script code.

    thanks
    Gerardo Mondragon

    ReplyDelete
  2. Hi Nhasko,

    In regards to my previous request:
    "Would it be possible to pop up the first image in the gallery as soon as the region is displayed.
    Something like force a click() on the first image with out the user input.
    I can not come with the java script code."

    I identified the JQuery selector
    I used : $('#image-Gallery > li:nth-child(1) > a').click();
    I'm having problem with the correct event, as it seems a sync problem, I tried to used different APEX region event, but I can get it to work, it work for Mouse enter, but the idea is to display the first image in the region with out the user intervention.

    regards

    Gerardo.

    ReplyDelete
    Replies
    1. Hi Gerardo,

      Thank you for using my plugin. try put this JavaScript code in page properties "Execute on page load"

      regards,

      Nihad

      Delete
    2. Hi Nihad,
      thanks for the quick reply.

      I did that. There is a timing problem ( I guess is the Ajax call), It works if I put a timeout, then do the "click".

      One more thing: I downloaded the plugin and found in the readme it mentions:
      select 'f?p=&APP_ID.:0:&APP_SESSION.:APPLICATION_PROCESS=GETFILE:::FILE_ID:'||id SHOW_IMAGE
      ,FILENAME
      from your_table,

      But I noticed that in your page you described another column
      "IMAGE_URL"

      I tried but nothing is displayed, Do I need to configure something else. I would like to use it, so user can print image.
      Where is this link supposed to be displayed:
      In the Region (bottom of each image) or in the POP UP,
      It will be nice to be in the Footer of the Pop up, next to Navigation Keys :) .

      My query sorce:
      select 'f?p=&APP_ID.:0:&APP_SESSION.:APPLICATION_PROCESS=GET_IMAGE_FILE:::FILE_ID:'||id SHOW_IMAGE
      , 'FILE NAME IS ....' AS FILENAME
      , 'here is the link - replace with PREPARE_URL' IMAGE_URL
      from IMAGE_FILES



      thanks
      Gerardo.

      Delete
  3. Hi Nihad,

    I hope you are doing well.

    Any comments about my question in regards to the IMAGE_URL.
    I included it, as part of my sql source in region, but it is not displayed.
    Everything else works perfect.

    Best regards
    Gerardo.

    ReplyDelete
    Replies
    1. Hi Gerardo,

      I answered your email. Please check.

      Delete
  4. Hi,
    I would like to implement your nice Password Strenght plugin. Would it be possible to build this plugin for Apex 5.1.4 version?
    Regards,
    Frantisek Mika

    ReplyDelete