Posts

jquery - Menu Button when Browser Is Resized -

i have css , html in website, please tell me if jquery needed, or else... so, have been trying change header button can click on , make vertical list, here example . when browser full sized, header vertical, when minimized, header turns button (top right on example .) , when clicked on, becomes vertical list. here code: (body only) <body> <div class="mainheader"> <div class="container"> <div class="logo"> <a href="#"><img src="images/banner.png" width="300" height="100"></a> </div> <div class="nav"> <ul class="nav"> <li><a href="#">home</a></li> <li><a href="#">roster</a></li> <li><a href="#">gallery</a></li> <...

php - HTTP request coming from mobile browser or an app? -

i want know whether request coming android app, ios app or mobile browser. i'm able distinguish between android app & browser. i'm using following code distinguish: if($_server['http_x_requested_with'] == 'com.example.user' ){ $curos='android'; } else{ $curos='mobile'; } does ios make such request? or have better solution? need because i'm using webview apps both android & ios platform. any appreciated.

android - AOSP compiled image for Nexus 9 doesn't boot -

hi has tried compile android 5 on nexus 9? manage compile fine when flash it doesn't boot. tried loads of different approaches, nothing. re-synced tree, started scratch, rebuilt, etc, nothing. if use factory images works. i noticed during aosp build vendor.img (included in factory image) not generated. issue? no idea how solve though, since followed build instructions letter. i'm out of options. help? thanks reason there's still no aosp device drivers nexus 9: https://developers.google.com/android/nexus/drivers for other nexus devices (4/5/6 etc) there's drivers nexus 9 there nada. looks motorola (or of device component vendors) did not want release drivers android developers. need device drivers e.g. bt, nfc, camera, sensors, audio, wi-fi, graphics, cell modem, camera, gps, usb etc). for reason can build aosp nexus 9 might not work out expected since device drivers missing. the binaries "missing" due this: https://plus.google...

Export phpMyAdmin problems -

i have built wordpress site on local host through mamp , want export live site. believe have export wordpress database phpmyadmin, when select database , go export tab , push go on quick export method, taken screen , not downloadable box appears , no let me download database. if localhost operating system linux, advice export database manually. type on shell prompt while replacing what's inside brackets own values : mysqldump -u [your_username] -p[your_password] [wordpress_database_name] > /tmp/[wordpress_database_name].sql this export database inside /tmp/ folder in file called wordpress_database_name.sql. this command can used on windows if installed mariadb or mysql server, comes utilities needed export. have change directory in command prompt until inside binary utilities directory (it's "c:\program files\mariadb\bin\"), , type : mysqldump.exe -u [your_username] -p[your_password] [wordpress_database_name] > [wordpress_database_name].sq...

axapta - Poduction Order Error -

when start production order http://www.hostingpics.net/viewer.php?id=650344311.png i error http://www.hostingpics.net/viewer.php?id=780294952.png i did not understand error ! your error is: period 28/03/2015 not exists. it means ledger posting needed, no ledger period date exists. resolution: create new fiscal year

oracle - SQL Developer "missing left parenthesis" -

can please me? trying make table coursework have problem foreign keys , don't know why... i error, when try , create table: "missing left parenthesis" create table avatar ( avatar_id number(3) constraint pk_avatar primary key, avatarname varchar(255), dob number(12), gender varchar(1), strength number(12), weapon varchar(255), species varchar(255), cost numbr(20), player_id number(3), foreign key references player(player_id), motheravatar_id number(3), foreign key references motheravatar(motheravatar_id), fatheravatar_id number(3), foreign key references fatheravatar(fatheravatar_id) ); try this create table avatar ( avatar_id number(3) constraint pk_avatar primary key, avatarname varchar(255), dob number(12), gender varchar(1), strength number(12), weapon varchar(255), species varchar(255), cost number(20), player_id number(3), constraint fk_playerid foreign key (player_id) references player(player_id), motheravatar_id number(3), constraint fk_mother...

opengl - Using multiple textures for shader programming in Haskell -

i'm using textureobjects when reading in texture. read in 2 textures, , want dynamically switch between them, when try do: tunit =(\(textureobject x) -> x) texobj and activetexture $= (textureunit tunit) setuniform p "texunit" (textureunit tunit) it doesn't work, if replace tunit 0, works it'll draw last texture load. i'm using glutil's readtexture function load in texture. any thoughts? the textureunit local shader id , textureobject global texture id. wasn't binding textureobject again before setting active texture, using latest 1 bound.