Creating "Minimize" Buttons For A Chromeless Window?
Feb 12, 2009I'm maximizing display space on a touch screen using chromeless windows but I need to minimize the screen with a button. Is there a way to do this?
View 1 RepliesI'm maximizing display space on a touch screen using chromeless windows but I need to minimize the screen with a button. Is there a way to do this?
View 1 RepliesCode... Check out this picture.. i want to make one of my lists to be shown in this way..
whenever you click the '+' sign, the products under the main products will be displayed, and when you click the '-' sign, the products under the main products will be hidden.
How to remove the close(x), minimize and maxize buttons on the browser?.
View 4 Replies View Relatedthis is the code i get the window size (width) when the page is ready.
Code:
$(document).ready(function(){
var height_window = $(window).height();
[Code]....
ideally, i hope to get the window size as well when you make the window smaller by dragging... what event should i be using then??
this is the implimentation of the entire code, [URL]
i got a video page, which has images in it, each image is a link to a different video, i want to make it so when 2 lines of images reached, there'll be a button named Next (or anything, doesn't matter) to lead to the Next page of images, note that i want only the part iwth the images to change while using those buttons, not the whole page,the images are built in this way :
Code:
<a title="header=[header] body=[<b>Video Author:</b> Author] delay=[100] fade=[off]" href="#" onclick="ytplayer.loadVideoById('Link', 0)"><img src="photos/1.jpg'" onmouseover="this.src='photos/2.jpg'" onmouseout="this.src='photos/1.jpg'"/></a>
I'm quite novice at javaScript but I have a good background in other similar languages, so I find I pick up things quick. Basically I'm planning on reading through some more solid resources on this topic, but I'm kinda under the pump at the moment for something that I imagine wouldn't be too difficult with a lil nudge in the right direction.
I have a form (using PHP) to update a mySQL database AND XML for flash, for a simple news page. At the moment I have the BBcode style of tags ([b][eb]). I was wondering how I can make a rich editor myself with just three buttons (one for italic, one for bold, one for links) that displays the text on screen to the user as WYSIWYG, and outputs the [b] [eb] tags for my PHP code.
I'm a total javascript noob, and new to web development in general, so I'm not sure how to use the API for the YouTube Chromeless player. So far here's my code:
Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Mary North Travel | Full Service Retail Travel Agency Specializing in Leisure, Corporate, and Cruise Travel</Title>
[Code]...
The loadNewVideo method currently does nothing. According to the API I need to use the getElementById in order to call the API methods. How do I incorporate that to make the methods work? Also, the API says I need to have a javascript function called onYouTubePlayerReady on my HTML page, which I've tried to incorporate based on seeing it used in someone else's code, but I'm pretty sure I'm not doing it right. How and where should this really incorporated?
I've been able to get the video to play when I exchange apiplayer in the URL with the YouTube video ID, and the play, pause, and stop links will control the video. However I'm having trouble incorporating the API methods loadNewVideo, cueNewVideo, etc.
I am creating a form for a registration that asks the participant if they have completed pre-requisite training. There are three questions they are asked. When they click yes, the text box for the requested information is enabled, when they click no, they get a warning that they need to register first.
Here is the javascript
The first one works fine (the SERE training question), however, the second one does not function at all. What am I missing to enable the second question to function like the first.
I cannot believe this is NOT possible but thus far, I've scoured the web for hours looking for an easy way to make a radio button about 10 times larger than it normally is, and make it use custom colors. For example, I'd like to use custom images for the "selected" "unselected" and forgo the normal radio button entirely. However, I'm hoping to keep the radio button as an input method in the HTML, since jQuery has some super useful tools to manipulate input via radiobutton (or other selectors).
View 3 Replies View RelatedI'm creating a demo website (pure to show design and content - not going live) and I want users to be able to click through the site and to use a back button on the site that goes back through the pages they entered.I have these pages.
1.html
2a.html / 2b.html
3a.html / 3b.html
4.html
a user will only go to either the a or b page.so when a user is on page 4 i need a button to link the user back to the correct version of page 3 & 4.at the moment i'm trying to use the querystring to input values but having problem persisting them/
I'm building a small script for creating sub menus that display as you move your mouse over the main buttons
HTML Code:
<html>
<head>[code]....
its not working, and this is my first JS script
I have a probelm about creating DIV in parent window from child window. following code works find in IE8, but it does not work in IE7 and 6
aaa.html
Code:
<html>
<head>
<title>aaa</title>
[Code]....
I've implemented the following script: http://www.cross-browser.com/x/examples/drag1.php
all works perfectly, however i just need to know how i could also add a maximize function in order for a div to cover the whole webpage..
I have this code that when just enclosed in a <script> works:..dto = new window["imenus_data"+(x2=x2.substring(6))];but when i put this code in a class and access the function:
Menu.prototype.initialize = function ()
{
..
[code]....
I'm writing a web server and an Ajax-y web UI for an embedded system. My server is just plain dumb and quite resource constrained and right now I have code in the server to skip over all the POST header fields. I'd rather not use bandwidth to send them and CPU to skip them. Can I minimize my request header? I was looking to do something like:
req = new xHttpRequest();
for (f in req.header) {
if (f != "Content-Type:') {
req.header[f] = null;
}}
But I haven't found a reliable way to get the header fields. Maybe I haven't looked hard enough. Pointers...?
I have got a page on my website which has a log-in button, when this button is clicked I want a window to pop-up which enables the user the login. After the have typed in their username and password and it has been confermed I want the popup window to close.Now I know this bit is possible, but I would like to take it further if possible:This leaves the user on the page where they clicked the log-in button. After the log-in window closes I want this page to change to another page (not loading another window). SO at the end of it the user hasn't had to open or close any windows and they end up with only one window open.
I know the first bit is possible but I am not sure about the second bit.I would like to know if this is possible and how to do it.
I am trying to figure out a way to do a pop up window with out having a pop up killer kill the pop up. My goal is to open a chat window up when they press on a button but sometimes it doesn't work because of pop up killers.
View 10 Replies View RelatedI 've try to enlarge an image with a click and then downsize again with another click.
I use the following jQuery
code:
$(".wpBilderliste img")
.click(function() {
$(this).animate({width: "593px"}, "slow")
.click(function(){
[Code].....
How do you minimize the portlet on form load?
View 1 Replies View RelatedI saw minimize/restore pluign for jquery dialog, I need one for a table is there anything avaliable ?
View 1 Replies View RelatedI want the div to start out completely minimized at 0% height and then when I click the button that calls the function it should increase the size to 100%, once it is maximized I want it to set the height back to 0% when the button is clicked again. Heres what I have so far. I can get it to minimize and maximize itself but I can't get the height set correctly.
<SCRIPT language="javascript">
var y = 100;
var q = 5;
var f = 0;
[Code]....
How can I capture the maximize and minimize of a browser? It is possible to capture this events? I'm searching the web and I didn't found any results. I want to be know if the user maximize/minimize the browser ?
View 1 Replies View RelatedI have a main window in which there is a link opening popup. In newly opened window there are links that allow to insert some HTML with form elements ( button) in the parent window document. The problem is when user closes popup window the added button is inactive (action assigned to it doesnt work) What is more the problem exists in IE, in FF code works quite well.The code inserting new elements to parent window is below.[code]
View 1 Replies View Related1. the 1st popup should open automatically and open a URL 1
2. then after 30sec the popup should close
3. then 2nd pop up window should appear and open URL2
4. then after 30sec the popup should close and so on
can any body help me with this please. I really need it.Or it can be like this also,The 1st popup should open automatically and open a URL1 then, after 30sec it should open URL2 and after 30 sec open URL3 and so on in the same popup.
I'm relatively new to javascript. I want to create an editable text window popup. Upon writing a free text the user should have an option to save or clear the text. He should be able to save the text in a predefined location locally. How can this be done in javascript.
View 1 Replies View RelatedI am developing a site for my client in wordpress. According to clients needs I have to add 6-7 jquery instances into a site. means I need to import jquery.js file for each of JQuery effect such as menu, slider, scrooler, tabs, buttonsinto a site. Because of this site loading time is affected and I need to use noconflict() function to make jquery variable separate for each of JQuery effect. I need help to improve site loading time by minimizing importing of jquery.js file. but I need to keep all the effect as before.
View 8 Replies View Related