how to detect an already set initial scale in a website using javascript? [closed] - javascript

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i want to change certain elements regarding their style by detecting the initial scale already used by the owner of the website.
Thanks

I found it my self,
var scale=Number((screen.width/window.innerWidth).toFixed(1));
scale has the required value!

Related

Search word in html page DOM and scroll to position if found [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 days ago.
Improve this question
I have a vue app where I want to search for a word in the DOM, if said worm is found in the DOM I want to scroll to that position.
Any help would be appreciated!

Make div stay active in any page on a website [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
Is it possible to have a stay on the page regardless of where the users goes to within the website?
Example: https://youtu.be/T3f-MPPH4Co
content can be done by positioning within a specific item.
https://en.m.wikipedia.org/wiki/Single-page_application

CSS/Javascript Create Input with Border-Bottom [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I would like to know how to create an input with a border-bottom changing color depending if the input is filled with text or not.
Here is an example (Hoshi): http://tympanus.net/Development/TextInputEffects/
I need to do the exact same thing as that "Hoshi" example. Has someone ever done that?
Thanks in advance.
Go to Your example
And make Ctrl-U everything you need is visible

Is it possible to control the zooming in TeeChart for a javascript? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
we need to create some buttons to zoom in/zoom out. Also need to set zooming limitation. Is it possible to do these things?
Yes, this is possible using axis SetMinMax method as in the example Yeray posted here. Using SetMinMax you can set the zoom factor and also limit the maximum and minimum zoom levels.

open popup in IE [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
window.open(address,'Audio Player','width=340,height=30,directories=no,location=no,menubar=no,resizable=no,scrollbars=no, status=no,toolbar=no');
this is my code which is not working in IE. bu i want in IE.can any one suggest me to how
You can't have a space in the Window title in IE. Change it to 'AudioPlayer'

Categories

Resources