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 7660933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:31:54+00:00 2026-05-31T13:31:54+00:00

I have honestly been working on this for about two weeks and researched as

  • 0

I have honestly been working on this for about two weeks and researched as much as possible. All I’m attempting to do is have various images on the side of a website. When you click one a dialog box appears with content in it. I can get one dialog to work, but the second wont open a dialog box. I’ve tried using the .dialog(‘open’) command, but it doesn’t seem to accomplish the goal. Here’s the code I have so far, any assistance would be appreciated.

<BODY>

<LINK rel=stylesheet type=text/css href="css/ui-lightness/jquery-ui-1.8.18.custom.css"> 
<SCRIPT type=text/javascript src="js/jquery-1.7.1.min.js"></SCRIPT>
<SCRIPT type=text/javascript src="js/jquery-ui-1.8.18.custom.min.js"></SCRIPT>

<A id=infopic href="#"><IMG style="Z-INDEX: 101; POSITION: absolute; TOP: 210px; LEFT: 211px" border=0 src="iconplace.png"></A> 

<DIV style="DISPLAY: none" id=info>info</DIV>

    <SCRIPT language=javascript type=text/javascript>

  $("#infopic").click(function() {

        $("#info").dialog({
            autoOpen:"false", 
            stack:"true",
            height: "600",
            width: "700",
            resizable: "false",
            Title: "Info"
            });

     })

    </SCRIPT>

<A id=portfoliopic href="#"><IMG style="Z-INDEX: 102; POSITION: absolute; TOP: 102px; LEFT: 390px" border=0 src="iconplace.png"></A>

<DIV style="DISPLAY: none" id=portfolio title=Portfolio>Portfolio pics</DIV>

  <SCRIPT language=javascript type=text/javascript>

  $("#portfoliopic").click(function() {

        $("portfolio").dialog({
            autoOpen:"false", 
            stack:"true",
            height: "600",
            width: "700",
            resizable: "false"
            });

     })

    </SCRIPT>


</BODY></HTML>

On a side note, this doesn’t work in Firefox or Safari, but works in Google Chrome and IE. Any speculation on that would be helpful as well.

  • 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-05-31T13:31:55+00:00Added an answer on May 31, 2026 at 1:31 pm

    Change $("portfolio").dialog({ to $("#portfolio").dialog({. That should get the second dialog box to work.

    And I re-iterate @Ohgodwhy’s suggestion to clean up your code.

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

Sidebar

Related Questions

for the past two weeks I've been working on coming up with a collision
I know this has been asked a lot of times, but I have honestly
I honestly have no idea if this question has been asked before, or something
I've been at this all day long and honestly I'm out of ideas. I
I'm a beginner but have been working really hard to build this application. Working
I'm working on a security project in Javascript (something I honestly have not used),
Crappy title, yes. But I honestly have no idea what this particular line of
I have this Objective-C code that I found somewhere. Honestly, I don't understand a
I've been working with the MVC pattern for a while now, but I honestly
I have been hearing about F# and Microsoft now have a guy who is

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.