Ask a Question related to Dreamweaver AppDev, Design and Development.
-
grant.smith #1
JavaScript Help
Hi
I'm looking for a bit of Javascript or PHP that will control the size of my viewers browser window.
This for the obvious reason of design, i'm a designer so this is very important to me!
I've looked in various places without sucess.
Thanks in Advance
grant.smith Guest
-
Include javascript in a javascript file
Hello, Is there a way to include a javascript file from WITHIN a javascript file? Something similar as in the "#include" directive in C++? ... -
cfm to htm & javascript
We just upgraded from 5 to MX 7. We have a page that we flatten from cfm to htm. There are popup window links on the page in the form of... -
output text in control location; calling control javascript from page javascript
Hi; If you don't know, I'm just learning javascript and aspnet, but I have a pretty good grounding in windows programming. I'm trying to build a... -
JavaScript - How do you add an action to the JavaScript action menu
Greetings, I'd like to add custom script(s) to the drop down list of actions in Acrobat. We are creating an app where many authors will be... -
need javascript staff (anyone who knows javascript peroid) (READ)
hey its me ultimategamerx and im back in some clothes lol i need some people who know java script i need help please reply if ya know some -
Dr Who #2
Re: JavaScript Help
Just play with the script as it is no texctly what yo uare after but should
give yo uan idea.
<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left ='+LeftPosition+',scrollba
rs='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
"grant.smith" <grant@grantsmithonline.co.uk> wrote in message
news:bfela5$gs3$1@forums.macromedia.com...my viewers browser window.> Hi
>
> I'm looking for a bit of Javascript or PHP that will control the size ofimportant to me!>
> This for the obvious reason of design, i'm a designer so this is very>
> I've looked in various places without sucess.
>
> Thanks in Advance
>
>
Dr Who Guest
-
Paul Whitham TMM #3
Re: JavaScript Help
You already have it with the "open browser window" behaviour in DW.
--
Regards
Paul Whitham
Valleybiz Internet Design
[url]www.valleybiz.net[/url]
Team Macromedia Volunteer for Ultradev/Dreamweaver MX
[url]www.macromedia.com/support/forums/team_macromedia[/url]
"grant.smith" <grant@grantsmithonline.co.uk> wrote in message
news:bfela5$gs3$1@forums.macromedia.com...my viewers browser window.> Hi
>
> I'm looking for a bit of Javascript or PHP that will control the size ofimportant to me!>
> This for the obvious reason of design, i'm a designer so this is very>
> I've looked in various places without sucess.
>
> Thanks in Advance
>
>
Paul Whitham TMM Guest
-
Mike_Demahy@adobeforums.com #4
javascript help
Want to use javascript to save a file with a signature in it. Want to do a file save as and provide Adobe with the file name. We do not want the user to have to enter a file name.
Also was trying to locate some documentation on Adobe Javascript. I found it once on the adobe website, but am unable to locate it again.
Mike
Mike_Demahy@adobeforums.com Guest
-
Gavin_Anderson@adobeforums.com #5
Re: javascript help
Have a look at <http://partners.adobe.com/asn/acrobat/docs.jsp#javascript>
Hope that helps.
Gavin_Anderson@adobeforums.com Guest
-
StylusDesigns #6
Javascript Help
I have a page that shows a graphic, allows the user to select size and color
then add it to the paypal cart. I always get the default width and height, and
I want to be able to select only part of the value of a selectbox. the
selectbox value resembles this <option
value='FFFFFF|1.00|White'>White</option> I want to only have the word 'white'
so that I can add it to the description before it goes in the cart. View the
page at [url]www.stylusdesigns.com/jnj/[/url] click an image to load the details.htm page
Thanks
StylusDesigns Guest
-
StylusDesigns #7
Javascript Help
I have a page that shows a graphic, allows the user to select size and color
then add it to the paypal cart. I always get the default width and height, and
I want to be able to select only part of the value of a selectbox. the
selectbox value resembles this <option
value='FFFFFF|1.00|White'>White</option> I want to only have the word 'white'
so that I can add it to the description before it goes in the cart. View the
page at [url]www.stylusdesigns.com/jnj/[/url] click an image to load the details.htm page
Thanks
StylusDesigns Guest
-
Manuel Socarras #8
Re: Javascript Help
as in the dropdown, the text is = the third element in the value
attribute, just get it with:
<SELECT class=cp
onchange=refreshPreview(this.options[selectedIndex].text); size=1
name=vinyl_color>
HTH,
manuel
StylusDesigns wrote:
> I have a page that shows a graphic, allows the user to select size and color
> then add it to the paypal cart. I always get the default width and height, and
> I want to be able to select only part of the value of a selectbox. the
> selectbox value resembles this <option
> value='FFFFFF|1.00|White'>White</option> I want to only have the word 'white'
> so that I can add it to the description before it goes in the cart. View the
> page at [url]www.stylusdesigns.com/jnj/[/url] click an image to load the details.htm page
> Thanks
>Manuel Socarras Guest
-
StylusDesigns #9
Re: Javascript Help
Thanks for the replay, I found a different way around the drop down list. But I
still need help. I cannot get the proper width and height to display when I
add to my paypal cart. I always get the default values, even after I changed
them in the form and it updated properly and display the correct numbers on the
screen.
StylusDesigns Guest



Reply With Quote

