I was thinking, would it be feasible to create a Cocoa app that is essentially just a an interface with a web view? Or is there some serious limitation when doing something like this?
If it is "feasible", would that also mean that you could do the same for Windows applications?
...
I'm always hearing that Firebug is the best for web dev. I prefer to use a webkit based browser, and I use Safari 4, or Webkit. I don't mind the web inspector.
That's the background. I'm wondering what features does firebug have that Safari 4 does not?
If it's compelling, sure i'll give it a shot, but i've been working with it today...
I'm trying to build a horizontal accordion with Jquery. It seems to be working "ok" in Firefox. But in Webkit (Safari 3 + 4, and Chrome) the sub-level UL flashes after the Hide function. Any help would be greatly appreciated. To see a working demo: http://ableobject.com/horaccordion1.html
Here is what I'm working on:
<html xmlns="ht...
The scene: I'm writing an embeddable widget. It takes the form of a <script> tag, which builds an iframe containing everything it needs to display. The iframe has no src, and the script writes to it with theIframe.contentWindow.document.write(). This keeps the widget contained, and keeps element ids and script from conflicting with th...
In Webkit, where can i get the data to be displayed,when user selects VIEW PAGE INFO on right click.
Thanks in advance.
...
Hi,
i want to rotate a single word of text by 90 degrees cross-browser (>= ie6, >= ff2, webkit).
...
This issue is about the CSS3 border-radius property (http://www.css3.info/border-radius-apple-vs-mozilla/)
An example of this problem is here:
http://jamtodaycdn.appspot.com/bin/rounded.html
In this URL, I have rounded divs that appear to be rounded in FF3, but on Safari and Chrome the rounded corners are not there.
The style is as f...
I actually have two questions regarding exception/error handling in the iPhone app that I am making:
The app uses Internet, but when there's no connection, the app just dies (during launch). How can I handle this to print some infomsg to the user, instead of just getting thrown back to the springboard?
Can someone show me an example of...
The issue is that I've written a Safari plug-in (http://tr.im/growler) that allows web applications to send Growl notifications by calling Javascript functions. However, at the moment the way it is written, people need to use <embed> to initialise the plug-in so that Javascript can begin using it (something I picked up from Apple's examp...
I' trying to use window.pageYOffset & window.scrollMaxY to calculate the current page progress. This approach works under FF3.5 but under webkit window.scrollMaxY is undefined.
...
Adobe Air's (read: Flex) mx:HTML component uses WebKit to render webpages. As such, does anyone know of a way to tweak WebKit's settings via the Air application (or a Flex API)? For example, I'd like to set WebKit's "enable-private-browsing" setting from "false" to "true".
...
I want to use WebKit as the layout/rendering engine, and I want to code it in Java. I am having troubles finding any useful info. I saw this question here which cleared things for me slightly, but I need more to get started.
I would like to know:
If I can use Java?
Where can I find documentation on how to work with and use WebKit? ( I...
Has something changed in JavaScript handling in iPhone OS 3.0? This code works in Safari 4 Public Beta and in iPod Touch 2.0, but not in iPod touch with iPhone OS 3.0. The purpose is to move the box a little to the right in 2 seconds, but in 3.0 it just jumps to the new location without animation or delay.
<html>
<head>
<meta name="view...
I am currently using the following PyQt code to create a simple browser:
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
app = QApplication(sys.argv)
web = QWebView()
web.load(QUrl("http://www.robeez.com"))
web.show()
sys.exit(app.exec_())
Websites like google.com or stackoverflow.com work...
I have a very simple Mac Cocoa app that just has a Web View that loads an HTML file with some CSS and JavaScript. I have hooked up the app delegate to this method:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
NSString* filePath = [[NSBundle mainBundle] pathForResource: @"index" ofType: @"html"];
NSURL *ur...
I ran into a problem on Chrome and Safari using jQuery to do some calculations using the widths of a strip of images.
When using my calculations in:
$(document).ready(function() {
/* some calculations with $("img").width() */
});
everything works just fine in IE6+ and Firefox, but it does not in Chrome and Safari: $(img).width() ...
Hi Guys!
I have a little problem with my site, I have a bar and on it a box that float above the bar, everything works fine in IE, Firefox, Opera, but in Chrome and Safari the box that must be above the bar float by the bar side no above it.
#barraDerecha
{
width:240px;
background-color:#e5e5e5;
border-left:solid 2px ...
I want to port webkit based browser to my stack. Can anyone tell about the organisation of the webkit browser engine? Currently what i know is that it has cores for rendering html & parsing javascript. I would like to know more, like how the javascript and renderer cores interact with each other?
...
A recent Ajaxian post title "Swipe away, then quickly flip with simple jQuery plugins" tells us about flip events on the iPhone Safari browser and I wanted to use them on another webkit browser, the Android Browser.
$('.swipe').swipe({
swipeLeft: function() { $('#someDiv').fadeIn() },
swipeRight: function() { $('#someDiv')....
According to Apple's documentation, @font-face is deprecated for use on the iPhone version of Safari. The iPhone only includes 11 fonts, AFAIK, and, in any case, I need a nice blackletter font for an app I'm building. I'll be generating random text, so images are not an option. What alternatives do I have? Am I stuck with a JavaScript so...