Modal window |
Modal window |
Brian Chandler |
Aug 29 2021, 02:20 AM
Post
#1
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
Looking for advice on the best way to do this.
Background: my old checkout worked by passing GET parameters around - 'bskt' for a list of product codes and 'dest' for the destination country. The new one uses cookies, which is better, because you do not need to make sure you do everything in the same tab. But for various reasons a URL to the new site may include these get parameters, in which case I want to add the product codes to the user's basket, but ask first. So I need to display a "flash panel" with a warning "You are adding these puzzles ... (thumbnails etc) to the basket. OK?" and a Yes/No response to be handled by Javascript. I want it to look as "standard" as possible - most sites grey out the page in the background, for example. So hints on where to start would be appreciated. |
Brian Chandler |
Sep 21 2021, 01:55 AM
Post
#2
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
About the menu libraries and suchlike... I thought, ah, I'll look at the dropdown menus on this very page. For some reason only on the first post in a thread there are "Options" and "Rating" buttons, with a "V" indicating a dropdown menu. But when I look at the source, I see none of the expected "onlick' handlers, just a link to #topicoptions (or similar). How does that work, then?
|
Christian J |
Sep 21 2021, 08:26 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
About the menu libraries and suchlike... I thought, ah, I'll look at the dropdown menus on this very page. For some reason only on the first post in a thread there are "Options" and "Rating" buttons, with a "V" indicating a dropdown menu. But when I look at the source, I see none of the expected "onlick' handlers, just a link to #topicoptions (or similar). How does that work, then? No idea, I guess it's an external javascript. |
Lo-Fi Version | Time is now: 26th April 2024 - 04:04 AM |