Entrance Events! Chat Gallery Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 19, 2025 - @214.98 (what is this?)
Activity rating: Four Stars Posts & Arts: 88/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :4u: ~~~~~~~~~~~  :4u: Super News: Upload a banner!

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  how do I make my pop up warning better (look at my site first)


« previous next »
Pages: [1] Print
Author Topic: how do I make my pop up warning better (look at my site first)  (Read 141 times)
cult_status18
Casual Poster ⚓︎
*


im pretty bored rn

⛺︎ My Room

View Profile WWWArt

Don't Worry, Be Happy !Joined 2025!
« on: March 23, 2025 @18.17 »

I have a confession to make I used a Google AI overview to make my waring I didn't want to do it that way but it happened so it is what it is Luckly its sucks so that means I actually need to work to improve it currently its just a pop up that uses Java and Im not familiar with java at all rn so I'm going to need a bit of help to make its better really I just need it to pause my site until the buttons clicked and I need it to be able to allow my autoplay audio to play on its own regardless of the browser and permissions, in other words, I need my audio to be attached to my warning so that when someone presses the button it plays the audio when it comes to the design of it it's not a problem I happen to be somewhat talented when it comes to that so I just need to know how to implement the textures that I want to use I know I sound like I'm not worth the time but java is really intimidating and I just to fix this waring to be better please help

also here's a link I guess https://cult-master-status.neocities.org/
« Last Edit: March 25, 2025 @952.40 by cult_status18 » Logged

this is the olny good gif of red paper wasps
tanuki
Casual Poster ⚓︎
*


Surfing the Web

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: tanuki
iMood: tanuki
XMPP: Chat!
RSS: RSS

View Profile WWWArt

Great Posts PacmanCubone, I Choose You!Joined 2024!
« Reply #1 on: April 12, 2025 @801.56 »

Could you help clarify a couple things, maybe I'm misreading or misunderstanding some things in your post  :ok:

1. Are you actually using Java, or do you mean JavaScript? (Two totally different languages)  :loved:
2. You cannot supersede the browser settings. If a user has autoplay turned off or javacript enabled, that's that. :ohdear:
3. Do you need help getting audio to play when the user presses the button? It sounds like you had that one covered  :cheesy: 
4. For adding texture/design - you should adjust the CSS or if the element is created through JavaScript, you can also look into using 'element.style'.  :dive:
Logged
cult_status18
Casual Poster ⚓︎
*


im pretty bored rn

⛺︎ My Room

View Profile WWWArt

Don't Worry, Be Happy !Joined 2025!
« Reply #2 on: April 12, 2025 @843.19 »

hmmm idk In my text editor, it has the tag <script>, so I think it would be JavaScript, right? I don't have a js file either so Its just in the text editor; it's not using anything from a file and I didn't know that if they had their settings for autoplay turned off then it wouldn't work I know its easy to turn in on in fire fox but idk about chrome when I used to use chrome it wouldn't autoplay with just a link but if I acssesed it from my profile page it would always allow autoplay so chrome is weird but most people who use the indie don't use chrome so its not a huge deal the autoplay works without the button needing to be pressed and so does the gif but that's a problem since I need it to stay paused until they press the button that way regardless if they had autoplay off or not then it would it would still play because the music would be attached to the warning and I still need it to all stay paused so its safe for any epileptic people to browse CSS is a good idea or even js I just haven't gotten to that you should worry to much about helping me because I had a close friend send me a scan javascript magazine and I've also been very busy with school so I haven't had the time to update anything on my website but it is important to deal with the warning just to make sure that its safe for people to view


* Screenshot 2025-04-12 151308.png (19.54 kB, 777x264 - viewed 1 times.)

* Screenshot 2025-04-12 151327.png (89.94 kB, 1799x362 - viewed 2 times.)
Logged

this is the olny good gif of red paper wasps
tanuki
Casual Poster ⚓︎
*


Surfing the Web

⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: tanuki
iMood: tanuki
XMPP: Chat!
RSS: RSS

View Profile WWWArt

Great Posts PacmanCubone, I Choose You!Joined 2024!
« Reply #3 on: April 13, 2025 @756.55 »

Hope I'm understanding your issue properly here! Just from the screenshots you supplied, I do not see any code relating to playing the audio. I would suggest first reading up on the Mozilla Docs for <audio> -- They have information on AutoPlay as well.

For getting your .gif to stop playing, you would need a Second image to prevent the animation. You should be able to open the .gif in an image editor and convert it to a .png. You will have to files (something like "aniImage_static.png" and "aniImage.gif"). The use the same closePopup() function to change the image src.

Hope this gets you pointed into the right direction!  :chef: 
Logged
cult_status18
Casual Poster ⚓︎
*


im pretty bored rn

⛺︎ My Room

View Profile WWWArt

Don't Worry, Be Happy !Joined 2025!
« Reply #4 on: April 15, 2025 @156.66 »

That was pretty detailed, thank you That will come in handy when I get into the magazine tomorrow and hopefully, the day after ill have time to make it better I hope your having a nice week so far :)
Logged

this is the olny good gif of red paper wasps
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

Best way to have a 2 column site?

Started by ObspogonBoard ☔︎ ∙ I need Help!

Replies: 3
Views: 2822
Last post February 13, 2023 @208.53
by fLaMEd
How do you prefer to keep your site organized (or not)

Started by NightdriftBoard ✁ ∙ Web Crafting

Replies: 30
Views: 10288
Last post August 02, 2024 @153.99
by candycanearter07
GUIDE: How to fix links on a frame site! - MK Frame-Link System

Started by MelooonBoard ✁ ∙ Web Crafting

Replies: 11
Views: 12541
Last post February 14, 2025 @191.34
by bingus_baby

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi