Programming :: Frameset Target Not Working Properly
Feb 19, 2011
I have a webpage in html that uses <frameset> tag. One of the frames is a Table of Contents (toc.htm) that lists a series of images. The other frame is called 'canvas.htm'. My framset is laid out as follows:
<frameset rows="20%, 80%">
<frame src="./banner_sp.htm" ></frame>
<frameset cols="15, 85">
<frame name="toc" src="./toc.htm" ></frame>
[Code]....
The frameset is created properly and I can load the images manually (i.e. I can access the images from my browser and/or image editing tool). The problem comes when I attempt to access the images from the toc.htm frame. Instead of opening the image in the canvas.htm frame, a new window is displayed in my browser, instead of the image being displayed in the target window (canvas.htm). This happens on all of my browsers (firefox, safari, IE7/8 and Opera) on Windows, debian-linux and OS X 10.5/10.6.
If I change my src attribute (in the canvas frame) to toc.htm, I see the Table of Contents (toc.htm) displayed side-by-side until I click on the first drawing in the list. At this point, the frame 'behaves' half-arsed the way I want it to. I have searched on google till I am blue(er) in the face with no luck.
View 3 Replies
ADVERTISEMENT
May 13, 2010
I am creating a simple program using C# to print the contents of the todo.txt file once it has run. Problem is when I run the program, I get this warning.
PHP Code:
[code]....
View 12 Replies
View Related
Apr 14, 2011
I am busy writing this script to get a pixel count of a large batch of images in a directory for a research project. To do this I'm using a loop to get all the images in the directory. To make the whole procedure more user friendly for some colleagues I decided to use zenity, something I haven't yet really worked with. As not to make sure that the users don't have to watch to this blank screen during the actual processing of the images I'm trying to get the zenity progress bar working. So far the progress bar comes up but instead of changing over time it stays "empty" till all the images are processed and then becomes 100% when all images are done. What servers my needs for now, but since I am trying to learn more about zenity I was wondering how I could change the script to get the progress bar properly working? Below is the piece of script I am talking about.
Code:
cd $input #goto path of image directory
(for a in *jpg *JPG *jpeg *JPEG; do
if [ -f "$a" ]; then #was it a image file
b="$a" #set b to $a
convert -resize 1000x1000! ${b} -depth 1 -format %c histogram:info:$b.txt #get pixelcount and write to .txt file
fi
done) | zenity --progress
View 2 Replies
View Related
Apr 20, 2011
basically in the child process iam just calling the ptrace(PTRACE_TRACEME, 0, NULL, NULL) system call but if add this stsyem call rest of the code not working properly. i found the reason basically what happening is when we have ptrace() system call its printing the same variable 3 times i.e its not executing it 3 times but just it is printing 3 times .iam just wondering how it could be possible.
View 1 Replies
View Related
May 8, 2009
I want to run ISCSI target on CentOS. Both "scsi-target-utils" and "iscsi-target" can be used.
They seem to have the same function.
Is there any significant difference between them, on performance or stability?
View 4 Replies
View Related
Nov 25, 2010
I'm learning about how to write Makefiles, and am a bit lost at how to run a command in a target depending on the value of a variable.
What I'm trying to do, is run "strip" only if the user is running a given version of a C compiler.
Here's the code:
Code:
$(LUA_T): $(LUA_O) $(LUA_A)
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
#FDPIC ELF binaries can be stripped, but not FLAT binaries
$(if($(CROSS),bfin-linux-uclibc-),
$(STRIP) $@
;)
Does someone know the correct way to do this?
View 2 Replies
View Related
Feb 2, 2011
My make file has the following lines:
blah blah
INCLUDES= -I./src
-I./include
-I$(PROJECTPATH)/myproject/libs/liburi/include
LDFLAGS+= -L$(PROJECTPATH)/myproject/libs/liburl/
[code]....
The LDFLAGS specifies the library path, which is specified as -L$(PROJECTPATH)/myproject/libs/liburl/ When I check this directory on my machine I see that the file: liburi.so.1 is indeed there.
View 1 Replies
View Related
Feb 14, 2010
I'm using build root to make an embedded rootfs and compile some code. However I get the following error
make: *** No rule to make target `linux26', needed by `linux-fusion'. Stop.
View 7 Replies
View Related
May 28, 2010
say you've got the following file structure:
Code:
ls -l *
lrwxrwxrwx 1 briank cg 1 2010-05-28 15:23 a -> b
lrwxrwxrwx 1 briank cg 3 2010-05-28 15:23 b -> d/c
d:
total 0
-rw-rw-r-- 1 briank cg 0 2010-05-28 15:23 c
code....
if I use python's os.readlink on 'b', it reports what I want, which is that it points to 'c'.
however, if I os.readlink('a'), it reports that 'a' points to 'b', which is true, but then 'b' points to 'c'.... so really, when I ask for 'a', I will eventually get 'c', but python isn't reporting that.
I know I can do an if test - if os.islink(os.readlink('a')): blah blah, but is there a more built-in or one-liner way of doing this? I'm looking to get to the last file in a list of symlinks, i.e. the regular file that they all point to.
View 3 Replies
View Related
Jun 10, 2010
I'm trying to debug a program that I crosscompiled on a arm9. The crosscompiler uses . spec files to create RPM packages for the target system. The program compiles and runs correctly except when i run the program with gdb and then type list I get this message: Code: 1 main.c: No such file or directory. in main.c I made sure I compiled the program with CFLAGS=-g by putting this in the .spec file. when the application crosscompiles (I believe) it shows it compiled succesfully with the -g flags: Code: checking whether gcc accepts -g... (cached) yes
[Code]...
View 2 Replies
View Related
Nov 12, 2010
I'd like to create a target named "debug" or something similar which will use some special optimization flags useful when debugging (for example -ggdb). At the moment my makefile is neat (which I like) and looks like
Code:
SRC = $(wildcard *.cxx)
OBJ = $(SRC:.cxx=.o)
INCDIR = -I.
LIB = -lm
[Code]....
View 2 Replies
View Related
Mar 30, 2010
Code:
anisha@linux-p0mg:~> uname -r && cat /etc/*release
2.6.25.5-1.1-pae
openSUSE 11.0 (i586)
VERSION = 11.0
My small Makefile:
Code:
obj-m += serialPortISR.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
Errors I receive:
Code:
anisha@linux-p0mg:~/Desktop/serialPortISR_31_10_09> make
make -C /lib/modules/2.6.25.5-1.1-pae/build M=/home/anisha/Desktop/serialPortISR_31_10_09 modules
make[1]: Entering directory '/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory '/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
make: *** [all] Error 2
View 12 Replies
View Related
Apr 25, 2011
I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]
[code]....
View 8 Replies
View Related
Sep 15, 2010
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
View 1 Replies
View Related
Dec 21, 2010
Does anyone know why vi text editor would not work. I'm running Ubuntu server with SIP service and apache and when i try to edit config files with vi it gets messy.On the bottom of the screen it would not indicate if I'm in backup mode or not. I won't same changes, and it messes up the layout when you use arrow keys to move between the lines. Also sometimes when I use arrow keys it will insert capital A, B, C or D.
View 5 Replies
View Related
Apr 28, 2011
I have a Lenovo W500 ThinkPad. It is running XP on first partition, then Ubuntu. I've tried both 10.10, 11.04 beta 2, and now 11.04 release.With the release I just installed, it seemed OK till reboot-after-install, at which point nothing came up. I rebooted several times and just got errors and kernel panics in the ATI video driver. I also saw a lot of these messages:"udevd[80]: worker [XXX] did not accept message -1 (Connection refused), kill it" URL...
I had download updates on, I'm trying again with a clean install without updates. (Although, I said don't download while installing, and it says it is downloading language packs...?)Now, I also had issues with 10.10, where it would intermittently boot and fail to get video, I'd just be at a tty, and have to reboot and try again. I found it usually got video if I had just booted Windows (XP Pro SP3) beforehand, and not otherwise So what's going on there? Something up with the actual video card? I want to run Gnome anyways, is there a way I can specify that during the install?At any rate, if I can't get 11.04 working properly, I'll have to run 10.10, which I didn't want to do. I'm starting from scratch and wish to start from 11.04 if at all possible.
View 2 Replies
View Related
Apr 29, 2011
So yesterday I upgraded to 11.04 from 10.10 and now when I enter Ubuntu only my background image appears. No files, programs, or anything. It worked right after it rebooted to finish the upgrade but when I turned my computer on this morning I got nothing but background.
View 4 Replies
View Related
Aug 1, 2010
I've noticed that, I can not copy a file trough scp .here is an example:
[root@Radius ~]# scp 123.txt /etc/logrotate.d/radiusd.log "nasser@192.168.8.46:/tmp"
nasser@192.168.8.46's password:
[root@Radius ~]#
[code]....
View 2 Replies
View Related
May 15, 2011
My computer has been running well for a couple of years with Ubuntu and the Gnome desktop. I use a very cheap webcam from PCWorld PC Line 1.3 Mega Pixels with Cheese and Skype which worked on Ubuntu. The new Ubuntu Unity desktop seems most unintuitive and reading that Ubuntu may not include Gnome for the next release is my reason to make the change to Debian. I am aware Ubuntu is a Debian derivative.
I have installed Debian Squeeze and everything is working properly apart from the webcam. When I open Cheese the webcam works but very slowly although it will not capture video. When I open Cheese > Preferences, I see the Device listed as USB 2.0 Camera (/dev/video0) but greyed out. When I open Skype > Options > Video I see the same greyed out listing but no image appears in the test area.
lsusb Bus 001 Device 002: ID 0c45:62e0 Microdia MSI Starcam Racer Computer: Gigabyte motherboard with onboard video and sound.
View 4 Replies
View Related
Aug 9, 2009
When I delete things from my home directory, or from my desktop,my trash can on the desktop stays empty, and the Empty Trash in the right-click menu stays disabled.The files disappear from view, but the disk space remains labeled as used.The only way I can empty my trash is through the trash on the panel. Weird
View 1 Replies
View Related
Oct 23, 2009
I was just trying to install some packages at the gpk-application 2.27.2, but they are not compatible. For some reason I can't install anyting. I have Fedora Leonidas. In another forum they told me that my package installer is not the proper for this version
View 1 Replies
View Related
Apr 3, 2010
I'm running fedora 12 64-bit with XFCE desktop. Updated to firefox 3.5.9 yesterday and that hasn't solved my issue... Just recently it is SO slow. I would even say its on ie standards I sometimes sit with pages "loading" only to find that the url soon changes to "search history and bookmarks" and the bottom left corner message says "stopped" - its most unreliable. at first i thought it was my sometimes dodgy internet connection but i have done several speed tests and after waiting ages for the page to load, the speed test comes up with about 2Mbps. This speed is not translated to the speed firefox is loading pages - several times i've had to stop all tabs loading and then reload them just because firefox seems to have forgotten its meant to be looking on the internet and "thinks" putting a message "loading" in the tab will do
View 4 Replies
View Related
Jan 11, 2010
The navigation buttons in firefox are not working and I can not access File, Edit, View, and History pull down menus. This just started today i think. I have 3.5.pre8 and 3.7 installed. both are affected.
Edit: Actually it is a problem with all apps when window is maximized. I cannot access the first 3 or 4 pull down menus or buttons on the tool bar unless the window is not maximized. This happens with konqueror, firefox and Banshee. Have not tested other apps yet.
Edit2: Upper left corner of desktop is also affected. The icons in this part of the screen are not accessible. seems that anything in that region of the screen is dead. just switched from compiz window manager to metacity and there is a black square in the upper left corner of my screen about 2.5"x 2.5".
View 1 Replies
View Related
Jan 12, 2010
I can't install software in Karmic - just installed the OS and hooked up to the network, but whenever I 'sudo apt-get install <program>' I get: Couldn't find package <program>I've looked at sources.list and can't find any problems. Is there something else I should look at?
View 2 Replies
View Related
May 4, 2010
I upgraded two machines to 10.4 TLS. When I press "s" key, system shutdown menu is displayed, and when I press "m" key, message menu is displayed.
View 4 Replies
View Related
Oct 11, 2010
upon the upgrade from 10.04 to 10.10, all upgraded nicely, except for my touchpad, which can't right click anymore, I can use the scroll on the side, and the button-trackpad just functions as a left click.I have an HP Pavilion dv6, with a touchpad like that of the HP Envy, click touchpad, with depressing ends on the bottom and middle respectively for left, middle, and right click.
I submitted a bug report on this when it was in beta, is there a solution to this issue? I use my laptop for work, so I would appreciate a fix... or something I could do aside from uninstalling my Operating System and reinstalling the previous version, which would seem to be a hassle.
View 2 Replies
View Related
Nov 20, 2010
I can't get java applications to run properly in a lot of cases. I've tried completely removing Java and reinstalling it. I've tried removing Iced Tea and OpenJDK and installing Sun Java instead. I've done a complete, clean reinstall of Ubuntu. The symptoms of my problem never seem to change. Minecraft is the best example I can give you. As soon as the game loads (in the web or on the desktop alike) it closes abruptly. This is what's in the log file.
Code:
I'm thinking "C [+0x416] __kernel_vsyscall+0x2" is important somehow. I can't seem to figure out what it means. I've tested this on a friend's laptop using the same (Ubuntu 10.10) and it works fine, no errors. I know other people are running their java fine.
View 1 Replies
View Related
Dec 5, 2010
Has anyone else been getting problems with contacts on MSN not receiving any messages?Works fine for google chat though, having to use Emesene for MSN at the moment, quite annoying.Also sometimes messages seem to double up and notifications too.
View 1 Replies
View Related
Dec 28, 2010
i recently installed guvcview on xubuntu and the window just shows up as a black screen with nothing and according to the uvc website my Logitech QuickCam Communicate Deluxe is supported by linux when i start up guvc the webcam's light turns on so i think its working
View 1 Replies
View Related
Apr 24, 2011
I managed to configure autofs5 on my Kubuntu 10.10. I want to use autofs to mount my NAS drive, when I am home(most of the time ) and not bother me when I am away. I mount it in /etc/fstab, but suspend and hibernate does not work correctly, when I am not at home. Now I comment the line which mounts the NAS driveI am still not at home, and decided to try to autofs my flash drive Here is my auto.master
Code:
# directory map
/- /etc/auto.direct --timeout=2 --ghost
[code]....
View 4 Replies
View Related