The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Modal window
Brian Chandler
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Brian Chandler
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 21 2021, 08:26 AM
Post #3


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(Brian Chandler @ Sep 21 2021, 08:55 AM) *

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
Brian Chandler   Modal window   Aug 29 2021, 02:20 AM
CharlesEF   Why the word 'Modal' in the title? As I s...   Aug 29 2021, 08:16 PM
Brian Chandler   Why the word 'Modal' in the title? As I ...   Sep 18 2021, 11:28 AM
Christian J   Well, I have this working now - see [url=https://...   Sep 19 2021, 12:55 PM
Brian Chandler   Well, I wrote "modal" in the title, then...   Aug 30 2021, 04:01 AM
CharlesEF   Ok, then how about this: Define a div section in ...   Aug 30 2021, 01:32 PM
CharlesEF   I put together a sample of using a modal dialog in...   Aug 31 2021, 02:28 PM
CharlesEF   You can get the PNG image from here: http://www.ce...   Aug 31 2021, 03:21 PM
CharlesEF   One thing I forgot to include. You must pass the ...   Aug 31 2021, 05:08 PM
Brian Chandler   Thanks for the help (I hope you didn't type mu...   Sep 2 2021, 10:47 AM
CharlesEF   If you use a div then you don't have to worry ...   Sep 2 2021, 02:01 PM
Christian J   iframes are sort of frames, which I thought had g...   Sep 2 2021, 03:31 PM
CharlesEF   Not to mention the billions? of web sites that use...   Sep 2 2021, 10:45 PM
Brian Chandler   Thanks Charles for the bit about iframes. I can...   Sep 3 2021, 02:25 AM
Brian Chandler   To CharlesEF in particular, but would welcome some...   Sep 9 2021, 11:30 PM
Christian J   But when I have something with "position:fix...   Sep 10 2021, 10:45 AM
pandy   Yup. That one comes out as mush. But with the tool...   Sep 10 2021, 06:45 PM
CharlesEF   Well, I'm not a CSS wizard but I would think n...   Sep 10 2021, 03:22 AM
Brian Chandler   Can't understand your comment - is this misp...   Sep 11 2021, 02:39 AM
Brian Chandler   Thanks for looking at this Christian. There is al...   Sep 20 2021, 11:53 PM
Christian J   There is always a conflict between wanting to be ...   Sep 21 2021, 08:22 AM
Brian Chandler   About the menu libraries and suchlike... I thought...   Sep 21 2021, 01:55 AM
Christian J   About the menu libraries and suchlike... I though...   Sep 21 2021, 08:26 AM
Hassanali2020   Hello i need help please because I’m not expert ...   Jun 13 2022, 09:16 PM
Christian J   Hello i need help please because I’m not expert...   Jun 14 2022, 04:39 AM


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 04:04 AM