javascript using class selectors opens new tab
I have a page using javascript to filter div's depending on a selection criteria. On Safari and Chrome, the filtering works just fine. Bit onFirefox (the latest version) … (read more)
I have a page using javascript to filter div's depending on a selection criteria. On Safari and Chrome, the filtering works just fine. Bit onFirefox (the latest version) instead of seeing the filtered list I see a new tab, titled About:
The attached images show the sequence, screen1 and then screen2 then screen3. I should see screen1 with a subset of the divs in the scrolling section.
The javascript is:
function TLSshowhide(tlsclassname) { /* first, hide all responsive div's */ var y = window.frames['theinterviewsdataframe']; var z = y.document.getElementById('theinterviewsdata'); var x = z.getElementsByClassName('responsive'); var i; for (i = 0; i < x.length; i++) { x[i].style.display = 'none'; } /* then, show the responsive div's with the selected classname */ x = z.getElementsByClassName(tlsclassname); for (i = 0; i < x.length; i++) { x[i].style.display = 'initial'; } } /* When the user clicks on the artist button, show all responsive div's */ function showArtist() { /* when showing the artists, show all responsive div's */ var y = window.frames['theinterviewsdataframe']; var z = y.document.getElementById('theinterviewsdata'); var x = z.getElementsByClassName('responsive'); var i; for (i = 0; i < x.length; i++) { x[i].style.display = 'initial'; } }
You can see this in action for yourself by going to http://cultconv.com/CultConv20181030/theinterviews.html and clicking the By Artist button
The list of DIV's being displayed is found in http://cultconv.com/CultConv20181030/theinterviewsdata.html
All help appreciated.
bobj
Firefox Video control template
Hello team firefox! I'm building my own webpage, where some videos are played (with scenes, so there will be a back and next button). When i embeed a video with the contr… (read more)
Hello team firefox!
I'm building my own webpage, where some videos are played (with scenes, so there will be a back and next button). When i embeed a video with the controlls, everything works. But: as soon as i turn on fullscreenmode (which the videos are played in normally), my two next and back buttons dissapeer (behind the video ofc).
So my questions to you: could you please send me your video control html, css and js? Would be reaaaly cool of you!
how to open a firefox browser through selenium 3.6.0 with another profile using Javascript
I would like to open firefox through selenium and upon file download, the file to be stored on another path other than the default, the downloads folder, automatically, w… (read more)
I would like to open firefox through selenium and upon file download, the file to be stored on another path other than the default, the downloads folder, automatically, without getting the prompt dialog.
This is can be done through configuring a new profile but I can't find any implementation example on the web.
Thank you in advance
my website's custom scrollbar doesn't work
In my web app I had a customized scrollbar. In the most recent update of fire fox it duplicates my scrollbar so I have my own customized scrollbar and next to that there… (read more)
In my web app I had a customized scrollbar. In the most recent update of fire fox it duplicates my scrollbar so I have my own customized scrollbar and next to that there is fire fox's default one. They are entirely synced and scroll together. And I do not wish to hide m own scrollbars for certain reasons. Can anyone help?