Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7829399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:44:43+00:00 2026-06-02T10:44:43+00:00

<html> <head> <link href=http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css rel=stylesheet type=text/css/> <script src=http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js></script> <script src=http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js></script> <% String str =Ravi;

  • 0
<html>
<head>
  <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<%
String str ="Ravi";
%>
 <script>
function changeIt(_src)
{
  $("#dialog").dialog();
}
 </script>

</head>
<body >
<img onclick="changeIt(this)" src='Cham/ravi.jpg' name='myimage' height ="100" width="100"  />
<div id="dialog" title="Dialog Title">
The Name is <%=str%>
<img  src='Cham/ravi.jpg' name='myimage' height ="1000" width="1000"  />
</div>
</body>
</html>

Hi ,

On page start up , On a AJAX call , I have some images present in a folder , i will fetch those paths and will show them on UI Page .

Now On click of that Image on the UI Page , i am trying to display a Jquery dialogue BOX which must include some data from Database related to that Image details and as well as that Image ( which was clicked ) in bigger size . (Basically a POP UP)

when i include the Image also in the dialogue div , it looks awkward as the Image is loaded at the Page loading only .

If this is not a better approach for showing POP ups on a rich web site
as you people being UI Experts , could you please advice me what would be the best approach ?? I am not sure if Light box suits for my requirement , please suggest me . Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T10:44:44+00:00Added an answer on June 2, 2026 at 10:44 am

    I’m not really understand your question but at least i’m trying to help here..

    To fix your code, here is the working examples. Do not forget to include jqueryUI in you page.

    <img class="thumbnail" src='Cham/ravi.jpg' name='myimage' height ="100" width="100"  />
    
    <div id="dialog" title="Dialog Title">
    The Name is <%=str%>
    <img  src='Cham/ravi.jpg' name='myimage' height ="1000" width="1000"  />
    </div>
    
    $(document).ready(function(){
        $('#dialog').dialog({autoOpen :false});
    });
    
    $('.thumbnail').on('click', function() {
        $('#dialog').dialog('open');
    });​
    

    Also, if I’m not misunderstood your question, this plugin is what are you looking for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is my code so far, <html> <head> <title></title> <link rel=stylesheet type=text/css href=http://o.aolcdn.com/dojo/1.1/dojo/resources/dojo.css />
I have a html like this: <html> <head> <link rel=stylesheet type=text/css media=all href=style.css> </head>
<html> <head> <link type=text/css rel=stylesheet `href=file:///C:/Users/Documents/style.css /> <script type=text/javascript src=file:///C:/Users/Documents/jquery-`1.7.1.js></script> <script type=text/javascript `src=file:///C:/Users/Documents/jquery.tablesorter.js></script> <script
<html><head> <link type=text/css rel=stylesheet href=file:///C:/Users/Documents/style.css /> <script type=text/javascript src=file:///C:/Users/Documents/jquery-1.7.1.js></script> <script type=text/javascript src=file:///C:/Users/Documents/jquery.tablesorter.js></script> <script type=text/javascript>
I have the following file: <html> <head> <title></title> <link rel=css type=text/css href=/empty.css title=css />
Consider the following markup: <!DOCTYPE html> <html> <head> <title>Test Page</title> <link href=screen.css rel=stylesheet />
Here is the html: <html xmlns=http://www.w3.org/1999/xhtml> <head> <script src=http://code.jquery.com/jquery-1.4.4.js></script> <link rel = stylesheet type
I'll make this short, I got this webpage : <html xmlns=http://www.w3.org/1999/xhtml> <head> <link rel=Stylesheet
I'm trying to get href value using jQuery: <html> <head> <title>Jquery Test</title> <script type=text/javascript
My code is : //cron.html <head> <meta http-equiv=Content-Type content=text/html; charset=windows-1252> <meta name=ProgId content=Word.Document> <meta

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.