Welcome to TalkGraphics.com
Results 1 to 10 of 40

Hybrid View

  1. #1
    Join Date
    May 2015
    Location
    Manchester, UK
    Posts
    51

    Default How to make a pop-up pop up

    On a number of pages in my current project, I have sound files. These are placed on the relevant pages using the import method described in the manual.

    They do not play automatically but the user has to click on the start button on the windows player. When that is done I want a pop-up text widget to pop up - it describes the limitations of the recording and playback. This should be on the top of all other elements on the screen and disappear either after a certain time has elapsed, or when the sound file finishes, or the user clicks elsewhere on the page.

    I'm having trouble making it work.

    Can someone please tell me:

    1 In which section/layer I should place the pop-up

    2 How I trigger the pop-up to appear as the sound file is triggered.

    Many thanks

    Flip

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,867

    Default Re: How to make a pop-up pop up

    flip, I deleted your last Post as you tweaked it away it was now an orphan. It happens all the time.

    Your ask is not that simple.

    You need a trigger for when the audio file has been played.
    Is that just the once?
    Must it start at 00:00 or at any play time?
    Is the pop-up a one-off? Never appearing again?

    None is easy in native Xara and would require coding.

    My suggestion:
    Make the Player dimensions 400 x 200px.
    Give it a Link of javascript: ;
    Make your pop-up 380 x 160px.
    Put the pop-up on the MouseOver and align to make it appear as a panel.

    When you hover over the audio controls, the pop-up appears, the controls still function.

    Xara - Audio Panel.xar

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    May 2015
    Location
    Manchester, UK
    Posts
    51

    Default Re: How to make a pop-up pop up

    Acorn, many thanks for a fast and comprehensive response. I'd really prefer to avoid coding.

    I'll try another approach using the resources within Xara that I'm able to understand. I'll report my progress in case it helps others.

    My website is designed to display and sell hand-painted guitars. The artwork can be appreciated and evaluated on the site but I feel it's important that prospective purchasers can also hear the sounds.

    Of course, played over computer speakers, tablets or telephones the quality can't be a true representation but I feel it's important that people can make relative evaluations between different instruments and also hear the range of tones my instruments can produce (since we modify the electrics.

    The pop-up is intended to explain this objective and limitation.

    I'm really grateful to you for your help and suggestions.

  4. #4
    Join Date
    Apr 2018
    Location
    Barnes, London
    Posts
    952

    Default Re: How to make a pop-up pop up

    Flip,

    Relatively simple idea is to have a guitar image on the MouseOff layer with short MouseOver description and to create a popup for each guitar with the audio and any other information of your choice:

    Attachment 131518. You need to add your own audio track to see it working. Online example here: https://initiostar.co.uk/demo/audioPop/

    Any information about the guitar can will be on the popup where the audio is set to auto-start. Closing the popup and the audio happens simultaneously using the link "popup:close"

    Gary
    Last edited by Initiostar; 10 February 2022 at 05:51 PM. Reason: Added live demo

  5. #5
    Join Date
    May 2015
    Location
    Manchester, UK
    Posts
    51

    Default Re: How to make a pop-up pop up

    Initiostar (Gary) I am very grateful for your suggestion, it is very nearly what I had in mind (and so badly described). I'll action it tomorrow and report back; I'm aware how much others rely on the help given so generously on these pages.

    Incidentally the attachment included didn't open correctly though that may have been my ignorance. The online example worked well.

    Regards

    Flip

  6. #6
    Join Date
    Apr 2018
    Location
    Barnes, London
    Posts
    952

    Default Re: How to make a pop-up pop up

    Flip,

    This is the design file :Image_Popup_Sound_Empty_mp3.xar - you will need to replace Xara Audio Widget with your own mp3 file to see it work.

    Gary

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •