473,735 Members | 2,329 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic pop-up menu

ak1dnar
1,584 Recognized Expert Top Contributor
I have a page for product listening, here on this page, all the products images will display dynamically. onmouse over for each and every product image, I need to display another pop-up menu. Say here we have three subcategories for each products. that sub category links should display on the pop up.

Hope you have a clear idea on this. for now we have designed a layer and in that we have put the links to sub categories. But the problem is once we set up the layer we have set the attributes for the layer like this. So its FIXED. and as per requirement I have to print my product images dynamically. for them I have to print the Layers too.
Expand|Select|Wrap|Line Numbers
  1. #Layer1 {
  2.     position:absolute;
  3.     width:114px;
  4.     height:36px;
  5.     z-index:3;
  6.     top: 385px;
  7.     visibility: hidden;
  8. }

Without going for such a stupi* manner, Is there any better way to do this.
Thanks for your time.
Sep 11 '07 #1
8 1772
acoder
16,027 Recognized Expert Moderator MVP
Can you post some more code or a link, so that I (we) have a better idea.
Sep 11 '07 #2
ak1dnar
1,584 Recognized Expert Top Contributor
Please refer to this link
here on the "Article-Tools" there is a pop up menu or page which comes onmouse over "Add This" link. If I can create a pop up page rather than a menu it will answer my question.

[EDIT: Sorry acoder, I am not that much familiar with designing stuffs. That is why my question is not clear, But I tried to explain it.]
Sep 11 '07 #3
acoder
16,027 Recognized Expert Moderator MVP
Please refer to this link
here on the "Article-Tools" there is a pop up menu or page which comes onmouse over "Add This" link. If I can create a pop up page rather than a menu it will answer my question.
To create a popup page, use window.open (link).
Sep 11 '07 #4
ak1dnar
1,584 Recognized Expert Top Contributor
To create a popup page, use window.open (link).
Thanks I think I know how to create a popup. But I have to learn some CSS for make it as in the Link in Time.com.
Sep 11 '07 #5
acoder
16,027 Recognized Expert Moderator MVP
Thanks I think I know how to create a popup. But I have to learn some CSS for make it as in the Link in Time.com.
Maybe I misunderstood. By popup page, you mean a pseudo-popup div with links?
Sep 11 '07 #6
ak1dnar
1,584 Recognized Expert Top Contributor
Maybe I misunderstood. By popup page, you mean a pseudo-popup div with links?
Let me say again with a example:
On the Page I am going to print some Products Images.
DELL
IBM

Once I mouse over on DELL sub links should display. For now there we have created a DIV with links on it. but I can't repeat the same div for IBM also. Because on mouse over IBM image div will display on the DELL image Location. And I dont like to set a separate div for this. I need to reuse the same div. Is there any way to set the position of a div that relates to the each image. currently its page relative.

Since I failed with this I thought to create pop-up page.
Sep 11 '07 #7
acoder
16,027 Recognized Expert Moderator MVP
I dont like to set a separate div for this. I need to reuse the same div. Is there any way to set the position of a div that relates to the each image. currently its page relative.
Maybe this link will help.
Sep 11 '07 #8
ak1dnar
1,584 Recognized Expert Top Contributor
Maybe this link will help.
Thanks a lot. I'll give it a try and let you know.
Sep 12 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1725
by: john | last post by:
Hi,All Gurus: It is kind of complicated, please bear with me and let me know if you have any questions. Thanks a lot in advance. John I have a csharp method, using emit to dynamically generate classes & method depends on the meta table in the database,here is my problem 1) One method I generated works when it was called, but another set of method does not work, it generate the following error
4
2516
by: PengYu.UT | last post by:
Hi, Some dynamic polymorphism programs can be converted to the equavalent static polymorphism programs. I'm wondering if there are any generall procedures that I can use to do this conversion. Best wishes, Peng
20
12772
by: Rick | last post by:
Hi, I'm trying to use a dynamic array but for some reason it won't work. This is my code : int *test; int numElements = 2; test = (int *) malloc (numElements * sizeof(int)); if (test= NULL) printf("Can't allocate\n"); // Nothing happens here
6
2402
by: Sandeep Chikkerur | last post by:
Hi, If the entire heap memory for dynamic allocation is not available, does the compiler always return NULL ? eg: char *s; s = (char *)malloc(...);
21
2280
by: Marky C | last post by:
atof is not working. double a = atof("12.345"); a gets set to 12.000 I am working on a toshiba micro. The data map has no space allocated to it for dynamic memory. Does anyone have an idea? Could it be due to the lack of dynamic
6
2978
by: Materialised | last post by:
Hi Everyone, I apologise if this is covered in the FAQ, I did look, but nothing actually stood out to me as being relative to my subject. I want to create a 2 dimensional array, a 'array of strings'. I already know that no individual string will be longer than 50 characters. I just don't know before run time how many elements of the array will be needed. I have heard it is possible to dynamically allocate memory for a 2
9
2630
by: Gibby Koldenhof | last post by:
Hiya, Terrible subject but I haven't got a better term at the moment. I've been building up my own library of functionality (all nice conforming ISO C) for over 6 years and decided to adopt a more OO approach to fit my needs. Altough I used an OO approach previously for some subparts of the library it became somewhat difficult to maintain all those parts since they really are the same thing coded for each part (code duplication). So...
0
1896
by: john | last post by:
Hi,All MS Tech Gurus: I need your help!!! It is the second time I post this message, I need get some feedback ASAP, Please Help!! Thanks a lot in advance. John I have a csharp method, using emit to dynamically generate classes & method depends on the meta table in the database,here is my situation 1) In One method I generated the code Dynamic IL Code (Depends on the data pass to it), The generated code works for one dataset but does...
7
2907
by: Christopher Pisz | last post by:
My problem is my derived class is getting called twice instead of the base and then the derived. I thought this was the purpose for virtuals and dynamic casting :/ I want my base class to have its method called and then the derived class have its method called. What am I not understanding? Int the following code, my Event Tester class is getting called twice for keyboard events when I step through the debugger:...
0
1049
by: gopikrishna513 | last post by:
hi guys I have a problem in using COM objects in vb.net. on my system i have imported on COM object for my project and build an exe on vb.net project and now the problem arises when i was using it on other sytem where this COM object is not present Now how can i make a dynamic check for the reference object on that system and pop a message that it doesn't consist of that reference and they can't proceed further
0
8783
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9460
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6747
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6045
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4821
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3269
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.