Fixed Website Window
Hello. I'm going crazy trying to find an answer to my
question. I'm trying to adjust a site that has a fixed left side.
It's the type of site that allows you to expand the browser window
to the right, exposing just blank space. I'm interested in a fixed
window that does not expand - that does not have a horizontal
scrolling bar (that is, unless you shrink it). How do I do this?
I've been googling like mad, but all I find is the fixed or fluid
debate tidbits. This doesn't address my question, of course.
Thanks.
> How do I set the browser window at a fixed width
You don't - you can't (at least not reliably in all
browsers). Does that
answer the question?
> I don't want the user to expand
> the browser window horizontally to the left.
But - I can't do that. I can drag to the right from the right
margin, or to
the left from the left margin, but the behavior of your
current page would
be the same in either case. The page is snug with the left
margin and you
get a wider gutter on the right. That's because the page is
fixed width
with no alignment specified so it gets the default of left
alignment.
> I've enjoyed the AP boxes because they allow me to
design the
> page with absolute certainty - is it that I'm using too
many?
Which is why everyone that uses them inappropriately does so.
The problem
with using absolutely positioned elements as a primary layout
tool is well
explained here -
http://apptools.com/examples/pagelayout101.php
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"galleryrx" <[email protected]> wrote in
message
news:[email protected]...
> Murray *ACE*, thanks for your thoughts. I am working
with a template. The
> website is not yet doing what I want because I don't
want the user to
> expand
> the browser window horizontally to the left. How do I
set the browser
> window at
> a fixed width. I've enjoyed the AP boxes because they
allow me to design
> the
> page with absolute certainty - is it that I'm using too
many? And
> regarding the
> flash header and the navigation bar, this came with the
template. This
> will
> actually appear as static html with the option of a
flash movie. I know
> this
> isn't the best solution, but the html navigation will be
there for
> accessibility issues and for iphone use. So, I'm still
trying to figure
> out the
> window width situation.
>
Similar Messages
-
I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails. My MBP has not seen a problem at all.
I have been searching every other day for over a month trying to find a fix in Windows Safari with no joy. I want to resolve, not switch browsers. Please offer up a solution that only refreshes the Top Site thumbnails once a day or as some controlable interval. Started about two versions ago, now on ver 5.1.5. Windows 7 64bit.
Safari 5.1.5 for Win64 bit, Windows 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!I think I solved the wifi connection problem, just by switching off completely the router! sounds trivial, but in this case it worked!!!
the funny behaviour of the trackpad/cursor still persists. any suggestion???
thanks again -
Microsoft releases fix for Windows Update corruption errors
See ZDnet article Microsoft releases fix for Windows Update corruption errors found @
http://www.zdnet.com/microsoft-releases-fix-for-windows-update-corruption-errors-7000026582/
The Microsoft KB article is found @
http://support.microsoft.com/kb/947821
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”Hi Rick,
Really thanks for your sharing.
This will definitly help others in this forum.
Kate Li
TechNet Community Support -
MBR fix for Windows 7 thinkpads?
I really need to resolve this issue. My MBR is "broken" (restored to a non-lenovo stock Windows 7 MBR) and now all my lenovo software and a lot of my hardware's software won't work. e.g. Intel graphics control panel, lenovo system update, lenovo power manager, etc... While loading any of these, I get "<application name> has stopped working....".
Background:
I previously removed a dual boot of Fedora I installed. However, the grub boot loader remained and I wanted to get rid of it. Normally Lenovo's Rescue and Recovery can be used to restore the boot loader (and remove grub), but I couldn't load R&R nor install a newer version. From what I could understand from reading online, R&R required the lenovo boot loader installed to work properly so I couldn't use it to restore my boot loader - a classic Catch 22.
I decided to borrow a windows 7 CD to use the repair feature. It worked by restoring windows 7's boot loader. However, ever since I did this, a lot of the preinstalled applications I listed above do not work anymore. None of the lenovo software work for sure. I have tried to reinstall some with no luck.
My best guess is that I can't use Window's MBR, but instead need to restore Lenovo's MBR / bootloader. However, after a search online I found Lenovo only provides the MBR fix for windows XP and 2000, not 7.
Any suggestions?Fixing the MBR shouldn't alter the functionality of programs, unless you've changed the drive letter somehow.
Reinstalling R&R within Windows should get it to work again, though.
W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen -
I'm using VS 2012 and want to create an app that opens up a specific website, however I do not want the website window opened in the maximized state. What code can I use to manipulate the window size when it opens?
To resize the Browser, it is not so simple.
Since browsers uses tab, the process returned by Process.Start may not be the process that need to be resized.
Some browser will have more than 1 process.
as example
IE will have 1 or 2 process for all tabs
Chrome will have 1 process per tab plus 3 processes.
Also, since you dont know which Browser is the default Browser, you need your code to find out
Try this code. I tested it with IE, Chrome and Safari and it worked
Imports Microsoft.Win32
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim url As String = "www.google.com"
Dim WindowSize As New Size(500, 500)
Dim P As New Process
Process.Start(url)
Threading.Thread.Sleep(1000)
Dim regkey = Registry.CurrentUser.OpenSubKey("SOFTWARE\Microsoft\Windows\shell\Associations\UrlAssociations\http\UserChoice", False)
Dim browserName As String = ""
If regkey IsNot Nothing Then
Dim progIdValue = regkey.GetValue("Progid").ToString()
If (progIdValue.ToString().ToLower().Contains("chrome")) Then
browserName = "chrome"
ElseIf (progIdValue.ToString().ToLower().Contains("firefox")) Then
browserName = "firefox"
ElseIf (progIdValue.ToString().ToLower().Contains("safari")) Then
browserName = "safari"
ElseIf (progIdValue.ToString().ToLower().Contains("opera")) Then
browserName = "opera"
ElseIf (progIdValue.ToString().ToLower().Contains("ie")) Then
browserName = "iexplore"
End If
End If
Dim pr = Process.GetProcesses().Where(Function(PRo) PRo.ProcessName = browserName).ToArray
For Each Browser As Process In pr
If Browser.MainWindowTitle <> "" Then
SetWindowPos(Browser.MainWindowHandle, IntPtr.Zero, 20, 20, WindowSize.Width, WindowSize.Height, 0)
End If
Next
End Sub
Public Declare Function SetWindowPos Lib "user32.dll" (hWnd As IntPtr, hWndInsertAfter As IntPtr, X As Integer, Y As Integer, cx As Integer, cy As Integer, wFlags As Integer) As Boolean
End Class -
I am measuring velocity using a linear encoder. Resolution is 40microns, sample frequency is 1MHz and the real velocity is oscillatory in nature with an amplitude of 200 to 400 mm/s with a freq of about 1Hz. We use a 5ms fixed time window to measure velocity. The quanization error for this is 8mm/s. Can I get rid of the quatization error by somehow measuring the exact time from the first pulse to the last pulse in the measurement window?
There is probably a way to do it, but it it may be easier to use an X-series board for the job. They support a new counter capability for count reset on a digital edge without needing to be configured in encoder position mode. I am not sure exactly how that feature's been implemented however, so maybe it won't make things easier after all.
The plan based on the hoped-for behavior:
1. Configure an X-series counter for pulse generation based on "ticks" of your clock channel.
2. Set both initial delay and low time to the critical # of ticks.
3. Configure for count reset on a digital edge (if possible in pulse generation mode)
4. Configure the count reset value to be the critical # (or possibly 1 less, if possible in pulse generation mode)
5. If you want the output to remain high indefinitely, configure the counter task to use its own output as a
pause trigger, and pause while high.
The way pulse generation works is to preload a # of "low time" ticks into the count register. Then every source edge will decrement the count. When the count reaches terminal count (0), the counter's output is toggled (or can be configured to pulse). The register is then loaded with the # of "high time" ticks and the process continues.
You would be perpetually interrupting the count-down process as long as you got your triggers in time. The count would keep getting reset to the # of low counts, keep decrementing toward 0 without reaching it, and so on. If ever you did reach 0, the output state would toggle high, then the high state would prevent subsequent clock signals from decrementing the count.
You can conceivably do a similar thing with a 6601, but I'm pretty sure you'd need 2 counters working together to get it working.
-Kevin P -
Microsoft Fixes Critical Windows Bluetooth Bug in July Patch Tuesday
Microsoft has patched a critical vulnerability in Windows 7 and Windows Vista related to the Bluetooth stack in the operating system. The bug is the lone critical vulnerability fixed in today's Patch Tuesday release, and Microsoft officials said it's unlikely that it can be used for remote code execution.
The patch for MS11-053 fixes a vulnerability in the way that the Bluetooth stack operates on Windows machines. Despite the low likelihood of it being exploited, it's the most serious of the 22 vulnerabilities Microsoft fixed on Tuesday.
Continued here: http://threatpost.com/en_us/blogs/microsoft-fixes-critical-windows-bluetooth-bug-july-patch-tuesday-...
ThinkPad: T530 / X1 Gen 2 / Helix - Yoga: Tablet 2 Pro (Win) / Yoga 3 Pro
If you find a post helpful and it answers your question, please click the "Accept As Solution" button.
Lenovo Advocate ~ I am not employed by Lenovo or Microsoft. I am a volunteer.
Microsoft MVP - Consumer Security
SpywareHammerGrStaKa wrote:
I do not appreciate the links to Apple on this forum.
When you find a better explanation how to report a software bug others understand, love to hear from you. Because I am not aware of any public bug-tracker neither from Microsoft Mobile nor Microsoft, finding such a explanation is difficult on a Microsoft driven webpage.
GrStaKa wrote:
using the phones NAV Software
If you are about navigation voice, yes, your are not alone …
If you have additional Bluetooth issues, we would have to look into that. -
Opening a new fixed-size window from a link
I'm primarily an illustrator, but am working on my own new
web site and do a few for other folks as well.
I'm by no means a guru so excuse my clueless questions... (I
use Dreamweaver 8)
I see many web pages that can do
any or all of the following and I'm hoping without complex
coding or js stuff...
+ Open a fixed-size window from a link on a page - as in a
smaller window like 250x400 that would contain a photo or drawing
+ Opens a new page from a link with a fade-in (ie, from blank
or dark background to an image) like what happens when you click
the "view larger" link at this page =
http://www.imagekind.com/showartwork.aspx?imid=e08f2a00-8925-4353-8c72-e0d1f4eb1879> I was going to post a screen capture but looks like that
isn't
> possible in this forum.
There's a reason. Screen captures only demonstrate "what",
without
providing any useful "why" information. Show us your code,
please - best
way would be to post a link to the page. I suspect the reason
you are
seeing what you are seeing is that the container for the
lightbox effect is
not large enough, or the image being used as a background for
that container
is not large enough. We'll only know that by seeing the live
page.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Nate Owens" <[email protected]> wrote in
message
news:gqg0ch$2i4$[email protected]..
> This is working well (Lightbox) but it does something
that I haven't
> figured
> out how to fix.
> It opens my image against the dark background as it
should with the parent
> page ghosted in back, but there is a margin at right
side and bottom where
> the
> dark area abruptly ends and the parent page is visible
in those areas
> without
> the dark image background extending to fill the window.
> I've examined the html but see nothing I recognize that
denotes the
> extents of
> the dark area. I was going to post a screen capture but
looks like that
> isn't
> possible in this forum.
> Any ideas would help.
> Thanks,
> Nate
> -
How to keep objects centered and fixed when window resized
Hi,
Newbie here with a question about centering. What I'm trying to do is center the content of a website and keep the content fixed in size, but what is happening is when I move the right side of the window toward the left side of the window (i.e. contract the window to a smaller size), the items that are centered, keep moving. For example, if I have a menu bar, I want the menu bar area to be fixed, and stay centered when a window is resized. I've attached images of what I'm talking about to hopefully make this more understandable.
Below is the link I used for information regarding centering:
https://forums.adobe.com/thread/454036
Thank you for your assistanceMay I suggest a bit more modern list style menu like the one way down the bottom of this page:
http://www.peattiecapital.com/2014.php
Here is the HTML code (classes on the a tag are optional)
<ul>
<li><a class="nl2014" href="2014.php">2014</a></li>
<li><a class="nl2013" href="2013.php">2013</a></li>
<li><a class="nl2012" href="2012.php">2012</a></li>
<li><a class="nl2011" href="2011.php">2011</a></li>
<li><a class="nl2010" href="2010.php">2010</a></li>
<li><a class="nl2009" href="2009.php">2009</a></li>
</ul>
The CSS is here:
http://www.peattiecapital.com/archive.css -
I have a PC with windows 8.1. My itunes folder is stored on external drive. I haven't used itunes for a while. I got a message to update to itunes 11.3.1. I got error message that "registry settings used by itunes for importing and burning CD's/DVD's has stopped working" I uninstalled itunes and attempted to reinstall. Now i get message" error occurred during installation before itunes could be configured" How do I fix this.
See Troubleshooting issues with iTunes for Windows updates.
tt2 -
How can I mount / fix my Windows 7 partition?
So a while ago my Win 7 partition was "unmounted" and it wouldnt show up in my Finder. When I tried mounting it in Disk Utility it would never work. I would click Mount, and it would't do anything. I wasn't really bothered by it since the partition would still show up when I booted and held 'alt'. I could boot Windows fine.
I was experiencing some problems with my Mac so I figured I'd reinstall the OS. After I did however, the Win 7 partition didnt show up in the 'alt' boot menu. In Disk Utility, the partition still exists, and I still can't mount it. I honestly have no clue what to do, other than to start over again. I REALLY dont want to do that, becuase I have a lot of data on my Win partition.
So im asking how the flip do i fix this...
Any help is, obviously, very apprechiated.I think you missed my point. Something you've already done has resulted in corruption of the boot loader or boot block making it impossible for you to now boot from your Windows system via your original Boot Camp installation. Reformatting the Windows partition will just remove everything already installed on it, so that would not sound like a good solution for you.
It may be possible to recover the Windows volume using CampTune, but I don't know that myself. I've not used it. The other possibility is to install a new boot loader:
Boot Runner
The rEFInd Boot Manager - Roderick Smith -
I previously had Adobe Reader 9, which worked perfectly.
Here's EXACTLY what happens: I am in a Safari browser website and try to open a pdf file (my bank statement). When I click on the link I get this message in a black window: "Adobe Reader. Before viewing a PDF file in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser." So I launch Adobe Reader but there is no End User License Agreement to accept. I have done this several times with no result. I am using a MacBook Air with OS 10.9.4 and Safari 7.0.5.
-
How to set a fixed size window, so that moving 2D pictures wouldnt go off?
Hi
I dont if this question has been asked or no & also not sure if its right to be posted here as my problem is a java 2D graphics problem in swing environment.
I want to know is how can i set the window to a fixed size with boundaries such that my graphics 2D picture in the swing window will not go off the edges of window when i do some transformations with the 2D picture.
For e.g:
so far ive got a frame window of size 350 by 350 with my 2D picture inside it made up of shapes etc...
when i apply some transformation to it (moving it) for a distance it goes disappeared off window beyond 350 and will come back if i move it back.
So how do i restrict the window so that when picture reaches the edge, it will not be able to move any further?
Do i set some specific bounds to the JFrame?
i hope i've explained it properly
ThanksIn a 2D coordinate system the horizontal values are represented by some letter, usually x. In the same coordinate system the vertical values are classically represented by y.
Note: In your code, if you wish, you can replace x and y with anything you desire--p and q or perhaps jeff and alice or any variable name you wish, but for simplicity, and usually ease of understanding because almost everyone has had 100's of math problems drilled into their head with (x, y), x and y are used as convention.
In Java the screen coordinates run from 0 to the width-1 for x and 0 to height-1 for y of the component you are using to display.
So logically when you have a value of x or y that goes beyond the addressable bounds of your display, then you have to make some type of adjustment--when your value dips below 0, you reset it to 0, when your value goes above what ever width-1 or height-1 then you have to set that value to width-1 or height-1.
This all assumes that when you hit the wall, floor, or ceiling you stick there until you change directions--if you wish to wrap then you set your value to the opposite bound--so if you go below 0, you would then pop out back in on the right side--your appropriate x would be set to width-1 instead of 0 and in the case of y going below 0 your y would be set to height-1. This is also to say that when you descend below your minimum, then you would pop back out on the opposite side you went out on--so x greater then width-1 would get set to 0 and y greater than height-1 would get set to 0.
That is not even a start on if you want to include elastic collisions, angle of impact, any type of deceleration force, or anything else.
In any case... I would recommend that you add more math to your studies, I've never met an engineer or computer science grad that said: "Wow, I really regret taking all that math in college (or HS), I never use it." -
Need to fix a Windows 7 Ethernet IP Configuration?
Background
There is a need to see, my MacBook Pro external or internal hard-drives while using Windows 7 Home Premium running from BOOTCAMP, from my MacBook using an Ethernet cable. While using the Mac OS X on both computers there is no problem with Read,Write access to the user accounts and all the hard-drives from either computer. When Windows 7 is running on the MacBook Pro the SHARED pc connection status is “Connection Failed.”
MacBook Pro:
Mac OS X Network
Location: Automatic; (Green Button), Connected; Ethernet: Status: Ethernet is currently active and has the IP address …; Configure IPv4: Using DHCP.
Mac OS X Sharing
(Green Button) File Sharing: On; File Sharing Service: On; Shared Folders: listed with Read & Write for all.
Options…
Share files and folders using AFP, checked; Share files and folders using SMB (Windows), checked (password has been entered)
Windows 7 Settings
Network and Sharing Center
View your basic network information and set up connections
The pc (BOOTCAMP on the MacBook Pro) is connected to Multiple networks and the Internet.
View your active networks
Wireless Network Connection
This is an Airport Extreme with an Internet modem connection with an Ethernet cable. Access type: Internet.
Local Network Access
This is an Ethernet cable connected between the MacBook Pro and MacBook. Access type: No network access. The Local Area Connection was used to perform Windows Network Diagnostics. After performing the recommended hardware actions a check was performed to see if the problem was cleared. The problem was given as “Local Area Connection” doesn’t have a valid IP configuration” Not Fixed. Relative to a local Ethernet connection between two computers how can the proper IP configuration be performed?
MacBook:
Network
Location: Automatic; (Yellow Button), Self-Assigned IP; Status: Connected - Ethernet has a self-assigned IP address and will not be able to connect to the Internet.
Sharing
(Green Button) File Sharing: On; File Sharing Service: On; Shared Folders: listed with Read & Write for all.
Options…
Share files and folders using AFP, checked; Share files and folders using FTP, unchecked; Share files and folders using SMB (Windows), checked (password has been entered).
Products
The products are both: 1) MacBook Pro (13-inch, Mid 2012), Mac OS X (10.7.4) and 2) MacBook (13-inch Early 2008), Mac OS X (10.6.8), Processor: 2.4. GHz Intel Core 2 Duo.with the pc turned off,, turn on the start tapping F11 over and over till you see "windows is loading files" stop tapping.. Now while in recovery MRG "need help immediately" then recovery disk creation
although I am an HP employee.. My opinions are mine and mine only and do not reflect the company..
**Click the KUDOS star on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
TS5376 itunes 11.1.4 fix for Windows
I am unable to uninstall the Apple Mobile Device Support from my PC which is necessary in the fix for iTunes 11.1.4 for Windows. Can anyone help?
If the "Repair first, then try an uninstall" trick didn't work for you, try using the fixit from the following Microsoft document to remove Apple Mobile Device Support:
Fix problems with programs that can't be installed or uninstalled
Maybe you are looking for
-
Is there any way that i can have my Magic Mouse to run on my PC (Windows 7)? i am looking for drivers online, but i don't want to install something that Apple may not approve of. I'm sure if there were such a driver, then Apple would have provided it
-
Java and C++ interface via JNI
I am getting an "Runtime Error !" no other error message when I ran the C++ program creating JVM. Line in "m_env->CallStaticObjectMethod(clsABNLogger,midABNLogger,jstrLoggingLevel); " I have attached the code snippet. Anybody has experienced this err
-
Image display problem in photoshop cs6
when i open any image in photoshop,its looks like washout but it looks fine in windows image viewer here is an example:
-
Headphone jack problem with Zen Micro
Hi. I bought my zen micro on April 4 and everything was fine until a few weeks ago when I got the headphone jack problem. When I touch the plug that is connected with the player, it makes a weird noise and the volume decreases and goes back to normal
-
Getting weird display on add to bookmark
I'm trying to add a bookmark in safari 6.0 Lion on an early macbook pro 2011. Getting garbled graphics see picture