hidden

Browser Ctrl+F find non-visible text

半城伤御伤魂 提交于 2019-12-08 19:08:20
问题 Can the browser feature of Ctrl + F to find text be integrated with text in popup windows. I'd like to have some scientific reference information given when someone hovers over a species name in a web page. Generating the popup, tooltip style text is no problem, the problem is that anyone using Ctrl + F won't be able to find it, or if I position the text out of view when not required, it will be found but be invisible. The same sort of effect applies to "accordion" style expanding text areas.

Image margins are cut in the scrollview

本秂侑毒 提交于 2019-12-08 14:19:48
问题 My android app contains a map that the user should scroll horizontally and vertically to see all of it. I've used two horizontal and vertical scroll view, and the image view is in it. But the problem is that, the picture isn't shown completely in the layout and a part of the top margin and left margin are hidden( cut ). so my question is: How to show the picture completely in the scroll view without cutting the margins?The problem is shown is this picture when I start the application at first

jquery hidden field not accessible until $(document).ready() called

你说的曾经没有我的故事 提交于 2019-12-08 10:05:08
问题 (aggregated from another question) Jquery 1.3.2 test code, run in FF3: <input type="hidden" value="236434" id="ixd" name='ixd' /> <script> console.log( $('#ixd').val() ); console.log( $('#ixd') ); console.log( $("input[name='ixd']") ); console.log( $("input:hidden") ); console.log( $("input[name='ixd'][type='hidden']") ); console.log( $("input[name='ixd']").val() ); $(document).ready(function() { console.log( $('#ixd').val() ); console.log( $('#ixd') ); console.log( $("input[name='ixd']") );

JavaScript: Uncaught TypeError: Cannot read property 'style' of null [duplicate]

时间秒杀一切 提交于 2019-12-08 06:44:44
问题 This question already has answers here : Why does jQuery or a DOM method such as getElementById not find the element? (8 answers) Closed 3 years ago . I am building this small cookiescript which creates a cookie when clicking on a button and then hides the message. But now I am building the function to hide the message (div#cookie) when the cookie has been seet, but I get this error everytime, but my div DOES exist: Uncaught TypeError: Cannot read property 'style' of null Now these are the

Cannot post hidden input after update PHP 5.3.8 to PHP 5.3.24

ⅰ亾dé卋堺 提交于 2019-12-08 04:51:11
问题 I upgrade my PHP v5.3.8 to v5.3.24. Since updating my script no longer works. An input variable POST it's the problem. Form source code here : http://pastebin.com/N4XKSQjR The line problem is the following (last line): <input type="hidden" name="count_result" value="416"> On my PHP processing form page (traitement.php) i recover this field like this: $count_result = $_POST['count_result']; And i get this php error : Notice: Undefined index count_result on line... The script works without

Swap DIV class on hover with jQuery

白昼怎懂夜的黑 提交于 2019-12-08 04:28:38
问题 This is what I'm trying to achieve : 2 DIV's, on page load the first DIV is visible, on hover it switches to the second DIV (which is initially hidden). Both DIV's are the same height and width and are positioned absolutely within the wrapper. This is what i've got so far, but it's not working properly - JS : (function($) { $(".wrap").hover(function() { $(".first,.second", this).toggle(); }) })( jQuery ); CSS : .wrap {position:relative;} .first { position:absolute; top:0; padding:20px; width

How To: add dynamically HiddenField in masterpage base page

淺唱寂寞╮ 提交于 2019-12-08 02:20:31
问题 I have a Base MasterPage class, from which my masterpages will inherit. I have some javascript functions there for it's child pages to include. As it's a base class, it does not have a visual designer nor I can add XHTML code. I need to add a hidden field to the class so I can set it's value in the javascript code, and when a postback occurs I can get the setted value on my content pages. Yet I fail to achieve this, for when I try to add the hidden field to the base masterpage's control

Replace hidden overflow with “…”

荒凉一梦 提交于 2019-12-07 16:28:59
问题 In javscript i created a function that puts text in a div. However, sometimes this text is too long for this div. So in css I set overflow to hidden. overflow: hidden I don't just want to not show this overflow, but i want to replace it with "..." in order that the user sees that the information is not complete. I've already tried to count the length of the string, and stop it after a few characters, but as my div is really narrow, it doenst seem like a good solution. How could i do this?

Selenium Page Source is Missing Elements

℡╲_俬逩灬. 提交于 2019-12-07 16:03:47
问题 I have a basic Selenium script that makes use of the chromedriver binary. I'm trying to display a page with recaptcha on it and then hang until the answer has been completed and then store that in a variable for future use. The roadblock I'm hitting is that I am unable to find the recaptcha element. #!/bin/env python2.7 import os from selenium import webdriver driverBin=os.path.expanduser("~/Desktop/chromedriver") driver=webdriver.Chrome(driverBin) driver.implicitly_wait(5) driver.get('http:/

Hidden FreeTextBox bug on Firefox

时光毁灭记忆、已成空白 提交于 2019-12-07 12:22:50
问题 I have a problem with the FreeTextBox rich Text Editor in my ASP.NET site. The problem occurs when I access the site with firefox, and I have a freetextbox instance in a hidden div. The hidden div might also be an AJAX Tab Panel. The actual problem is that when the page loads it throws an uncaught exception (firebug shows the StoreHtml() function) and halts the postback!! Is anywhere of the problem and a solution for it?? Thanks 回答1: I recently met a similar problem with jQuery UI tabs. What