Hello all, I have this code in laravel. I wonder how to keep the tab theme selected even after pressing purchase button (on the bottom) or refresh pages. Usually it changes to profile tab being selected after refresh page. Any clue? <section id="content-desc"> <a class="plus-minus-toggeler"><span class="glyphicon glyphicon-minus"></span></a> <div class="backend-box backend-box-email"> <div class="backend-nav"> <ul style="margin-top: 20px;height: 32px;" class="nav nav-tabs" role="tablist"> <li class="active"><a id="tab_setting" href="#setting" aria-controls="setting" role="tab" data-toggle="tab">Profile</a></li> <li ><a id="tab_account" href="#account" aria-controls="setting" role="tab" data-toggle="tab">Account</a></li> <li ><a id="tab_themes" href="#themes" aria-controls="setting" role="tab" data-toggle="tab">Themes</a></li> </ul> </div>

Member Avatar
Member Avatar
+0 forum 2

Hey Guys, So using a webform textarea I am passing some data into PHP. This data is basically 4 columns of an excel sheet and potentially unlimited rows. Now I want to be able to go through this data, select each of the four individual elements from each row, insert these as a new row into a MySQL database and do this for each row pasted into the original textarea. I was told that Excel separates new lines with a '\n' character and each column with a '\t' separator. So my approach was to use `$rows=explode('\n',$data)` and then explode each …

Member Avatar
Member Avatar
+0 forum 6

i want to disable the Alt Tab, windows key, ctrl esc key. FOr my Log On Security that start up in coomputer like windows log on. Thanks for the help. Try to search hours for this but i cannot find the right solution im using vb.net 2005 and OS is Vista.

Member Avatar
Member Avatar
+0 forum 10

Hi, I want to distinguish whether the tab closed by clicking X or by another action (clicking a link, or a button which close the current tab). In Firefox - I followed the stack and saw that the function closing the tab (not by X) is called: onxblDOMWindowClose. BUT in chrome - both cases's stack looks the same. Is there any way I can know how the user close the current tab ? I've googled this question in many versions, but didn't find any answer/work direction. Any help will be appreciated. Thanks.

Member Avatar
Member Avatar
+0 forum 5

I have this dilemma where I need to make my sub-menus hover over the other content on my page but I cannot seem to do this, I have searched and searched but to no avail. I am to the point where I just need a little bit of guidance on this. I’m still relatively new to css but have slowly gotten the hang of it over time. I just cannot seem to figure this one out though. My issue is that when I hover over the tabs in my tab menu the drop come is triggered BUT it pushes everything …

Member Avatar
Member Avatar
+0 forum 13

hello good people, i have created atab control and added a gridview in it. When i run it this is how it shows: ![42e98ae1ab28208a1d5964503f00cecd](/attachments/large/4/42e98ae1ab28208a1d5964503f00cecd.png "42e98ae1ab28208a1d5964503f00cecd") i have tried adjusting the heights and widths of both but tono avail. here is my code: <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Height="421px" style="z-index: 1; left: 212px; top: 271px; position: absolute" Width="933px"> <ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="Neurology"> <ContentTemplate> <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="Neuro" style="z-index: 1; left: 242px; top: 367px; position: absolute; height: 309px; width: 870px"> <Columns> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /> <asp:BoundField DataField="Designation" HeaderText="Designation" SortExpression="Designation" /> <asp:BoundField DataField="Qualification" HeaderText="Qualification" SortExpression="Qualification" /> <asp:BoundField DataField="Shift" HeaderText="Shift" SortExpression="Shift" /> …

Member Avatar
Member Avatar
+0 forum 2

Hey, I'm trying to figure out how to get this kind of program to work, it's supposed to be a UNIX style program in the sense that everything is command line driven. What I'm trying to get it to do is when the function is called it takes the input file and converts all tabs into 4 spaces. Here's the form of the input and what I have of my tab_to_space function so far. "python3 assignment3.py +t < assignment3.py > output.txt" Where +t denotes the function that is being called Here is my function so far. def tab_to_space(): """ This …

Member Avatar
Member Avatar
+0 forum 5

i have problems with the application that i currently develop. I use tab control, and to access tab pages(page 1 , page 2, etc) i use link label. Now my question is, how can i remove the WHITE BORDER of my tab control?? I tried using panel to hide the border but it did'nt work. pls help me.. here is the screenshot of my application ![505a5e60929407b6c0ec839f82e1fb50](/attachments/small/4/505a5e60929407b6c0ec839f82e1fb50.png "align-left")

Member Avatar
Member Avatar
+0 forum 1

I have a tab panel on form1 and on the 1st tab there's a button and when i click this button it will enable a function. what i want to do is to work on other tabs while the function on the 1st tab is still executing. is there anyway i can do this? or should i use another form? thanks

Member Avatar
Member Avatar
+0 forum 3

hello , i've in my system a search form which contains many tabs for each table i have in the database for example (employee tab,departments tab....) and seperated forms for the same tables to add recored from what i want is when i'm opening the employee form and press the search button which opens the search form that contains the search tabs to open with specific tab selected , not the default one hope it can be done thanks in advance

Member Avatar
Member Avatar
+0 forum 3

var tabLinks = new Array(); var contentDivs = new Array(); function init() { // Grab the tab links and content divs from the page var tabListItems = document.getElementById('tabs').childNodes; for ( var i = 0; i < tabListItems.length; i++ ) { if ( tabListItems[i].nodeName == "LI" ) { var tabLink = getFirstChildWithTagName( tabListItems[i], 'A' ); var id = getHash( tabLink.getAttribute('href') ); tabLinks[id] = tabLink; contentDivs[id] = document.getElementById( id ); } } // Assign onclick events to the tab links, and // highlight the first tab var i = 0; for ( var id in tabLinks ) { tabLinks[id].onclick = showTab; tabLinks[id].onfocus …

Member Avatar
Member Avatar
+0 forum 1

I'm having hard time looking for a solution. :( How can i add tabs without duplicating it on the tabpages. I'm using list view to add tabs to the tabcontrol. These are my codes: Public Class frmMain Private Sub treeviewMain_NodeMouseDoubleClick(sender As Object, e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles treeviewMain.NodeMouseDoubleClick Dim page As Integer = tabMain.TabPages.Count Dim tabpage As New TabPage Dim id As Integer tabpage.Text = treeviewMain.SelectedNode.Text.ToString() Select Case tabpage.Text Case "Return" tabMain.TabPages.Add(tabpage) Dim frm As New frmReturn frm.TopLevel = False frm.Parent = tabMain.TabPages(page) frm.Show() Case "Borrow" tabMain.TabPages.Add(tabpage) Dim frm As New frmBorrow frm.TopLevel = False frm.Parent = tabMain.TabPages(page) frm.Show() id = …

Member Avatar
Member Avatar
+0 forum 14

I have a problem with vb.net tabcontrol in so far as I cannot change the individual tab widths. I can chang ethe sizecontrol to fixed and alter all of the tabs but not individually. Ordinarily it would not be a problem with the tabs autosizing by the text size, but I have sometimes in my programme tabs with no content which I would like to hide, this I thought would be easy as just give it no name, but the tab remains and the size seems to have a minimum which is too big. So to summerize. I want to …

Member Avatar
Member Avatar
+0 forum 9

l have installed application to page using https://www.facebook.com/add.php?api_key=valid_api_key&pages=1 but when l go to the page l cant see the page tab that supposed to hve been created.

Member Avatar
Member Avatar
+0 forum 1

Hello, I have several textboxes and it is possible to write something in one of them and then without losing the focus I could or would save the input. But there is no FocusLost and therefore the TextChanged event doesn't fire. How can I save the input of one these textboxes if enter or tab isn't pressed? Thanks for help

Member Avatar
Member Avatar
+0 forum 4

find and delete specific line from text file ==== cart.txt (tab delimated) ---------------------- guiburi PID001 KARLSTAD Sofa 2348 2 4696 guiburi PID002 BESTA Cabinet 1656 32 52992 guiburi PID009 PAX Wordrobe 1794 2 3588 deleteitem.php ---- if(isset($_GET['pname'])) { $pname = trim($_GET['pname']); } Info -- pname is sent from a another file using url and it used to match with the 3rd colum of the cart file and then delete the line.write back to the same file ive tried many ways but no luck. any help? thanks

Member Avatar
Member Avatar
+0 forum 3

Hello, As of now I am trying to read in a text file that is tab delimited with uneven columns. My problem is that when I try to split the file into respective lines, I get an "out of array bound" error. I know this is due to have a NULL value in certain row/columns places. Is there a way to just read through each row instead of relying on each column to have a value in it? I have attached my input file for easy viewing. Here is my code thus far: Dim infile As IO.StreamReader = IO.File.OpenText("input.txt") Dim …

Member Avatar
Member Avatar
+0 forum 6

I am using jquery tabs in master page to open the aspx files once user clicks on a tab heading. But if I use my page as link it will repeat the "header" part(similar to this:http://stackoverflow.com/questions/9459991/jquery-tabs-and-asp-net-master-pages-issue). Already tried the solution but cannot get my head around it. Can someone please help. here is my code in masterpage: <form id="form1" runat="server"> <div class="mainWrapper"> <div class="wrapper"> <div class="header"> <a href="" class="logo"></a> <div class="topToolbar"> <span>Welcome <a href="/" class="logOut">Log Out</a></span> </div> </div> <div class="container"> <div id="tabs"> <div class="tabsCenter"> <ul> <li><a href="Myfirstpage.aspx">First</a></li> <li><a href="SecondPage.aspx">Second</a></li> </ul> </div> <div class="tabsBottom"> </div> </div> <asp:ContentPlaceHolder ID="BodyContent" runat="server"> </asp:ContentPlaceHolder> </div> …

Member Avatar
Member Avatar
+0 forum 1

dear all, I have made one program, but i am stuck with one problem. I have taken one scrollpane in simple desktop GUI application in java. My hierarchy of Scroll pane is as below. JFrame |_JTabeedPane |_JScrollPane |_JPanelMain |_Jpanel |_JPanelA |_JPanelB Now all the components are in JPanelA and JPanelB. So when i press TAB,it traverse through all textboxes, but problem is it is not automatically scrolls down. TAB is working perfectly, so when i press TAB it goes to text box one by one,but it doesn't display the element outside the screen area. So it will not auomatically scoll …

Member Avatar
Member Avatar
+0 forum 4

Hello All, I have a Java program which is using a JOptionPane in it. eg. Are you sure u want to close the application? Yes No When I click with the mouse on the No button it works correctly but if I select the No button using the TAB key and press enter key the application still closes. Can anyone tell me whats going wrong public class WindowHandler extends WindowAdapter { public void windowClosing(WindowEvent e) { int OptionChoosed=JOptionPane.showConfirmDialog(null, "<html><p><font color=\"#FF8C00\" " + "size=\"4\" face=\"Book Antiqua\">Close the Application ?"+ "</font></p></html>" ,"Warning",JOptionPane.YES_NO_OPTION); System.out.println(OptionChoosed); if (OptionChoosed==0) { try { if (databaseInformationModel != null) …

Member Avatar
Member Avatar
+0 forum 2

Hello can you please give me a code for a tabed web browser? browser name=webbrowser1 form name=form6 new tab button=NewTabToolStripMenuItem

Member Avatar
Member Avatar
+0 forum 1

i need a code for making a tabbed browser please help me ! just give me instructions on hol to duplochase the browser windo and how to make the back,next buttons to work for the selected tab. thank you.

Member Avatar
Member Avatar
+0 forum 4

This is a script that was supposed to be very basic, just running a command with my scripts arguments attached. I didn't realize that if user 'cj' opens firefox, when user 'root' does '**firefox -new-tab**' it doesn't work. Firefox will just open a new window, and thats exactly what I didn't want to happen. The whole point was to open in a new-tab. So finding the user that logged onto the desktop, when the script was ran by root became the challenge. You can find out who ran the script alot of ways, but thats not what I wanted. Sometimes …

Member Avatar
Member Avatar
+0 forum 3

The form I've created only allows users to use the tab key to navigate the form fields. How can I set the form up to allow users to simply click in the field without using the tab key?

Member Avatar
Member Avatar
+0 forum 5

I have a tab delimited text file with text like this: Wed Jun 13 01:00:19 2012 | error | client xx.xxx.xxx.x | rdy 784 bsy 16 The pipe | signifies that the tab delimiter. I need to convert this into a CSV file using Java. I also need to split the "rdy 784 bsy 16" into two values. What is the best way of doing this?

Member Avatar
Member Avatar
+0 forum 1

Hi. I'm a newbie in php, and I recently bought a book called PHP and MySQL Web Development by Luke Wlling and Laura Thomson. I was able to make an order form in Chapter 1, but in Chapter 2, I have to process orders so that every time I fill out an order form, the order gets stored in my orders.txt file. Here is the code I have for processorder.php: <?php // create short varible names $tireqty = $_POST['tireqty']; $oilqty = $_POST['oilqty']; $sparkqty = $_POST['sparkqty']; $address = $_POST['address']; $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT']; $date = date('H:i, jS F Y'); ?> <html> <head> …

Member Avatar
Member Avatar
+0 forum 4

I am making a java gui keyboard as practice The keyboard itself works well and is made out of JButtons It changes colors when a certain key is pressed and then releseased I have two questions: Is there a simple way to listen for tab being pressed? Is there a way to shorten down my changeButton function? import java.awt.Color; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.KeyListener; import java.awt.event.KeyEvent; import javax.swing.JButton; import javax.swing.JPanel; public class Keyboard implements KeyListener{ private static final String[] firstKeys = {"~", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "Backspace"}; private static …

Member Avatar
Member Avatar
+0 forum 1

Maybe this is a bit too broad a question and too much code for this forum, but I'll give it a shot... OS: Win7x64 6.1.7601 py: 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] wx: 2.8-msw-unicode My question is more of a general nature than in regards to a specific problem to resolve: [INDENT]Am I making this more difficult than it needs to be, and is there a better way to handle a combination of navigation and validation events?[/INDENT] After searching far and wide for examples of code to manage both navigation between controls and validation of …

Member Avatar
+0 forum 0

Hi I want to style a horizontal navigation bar so that the current tab, in this case linking to a different webpage is selected, highlighted. I thought that Focus would work but that only works for keyboard navigation. Update: [I] found this, but not during my intial search but in the Similar Threads panel. "You can just add an id on the specified tab and change the properties."[/I] [URL="http://http://www.daniweb.com/web-development/web-design/html-and-css/threads/313442/1341020#post1341020"]http://www.daniweb.com/web-development/web-design/html-and-css/threads/313442/1341020#post1341020[/URL] Can someone explain this in simpler English I am using an XHTML doctype. thanks Geoff

Member Avatar
Member Avatar
+0 forum 5

Hi.. I have a file with title output.dat.format of this file is as follows [CODE] 0 0.00E+00 0.00E+00 -2.00E-02 9.48E+02 1 0.00E+00 0.00E+00 -1.80E-02 9.48E+02 [/CODE] yes,Thats right.without any comma between.(just tab space) i need to create a file from this output.dat which has form similar to [CODE] 0,9.48E+02 0,9.48E+02 [/CODE] i.e the first and last column separated by comma and no white space in the entire line...I tried to code this by creating dictionary...i am unable to get the required output PS:the initial file 1.e output.dat has 10,000 line in a format mentioned above

Member Avatar
Member Avatar
+0 forum 4

The End.